projects
/
m17n
/
m17n-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9473f44
)
*** empty log message ***
author
handa
<handa>
Wed, 13 Sep 2006 08:07:06 +0000
(08:07 +0000)
committer
handa
<handa>
Wed, 13 Sep 2006 08:07:06 +0000
(08:07 +0000)
utils/usr_filter.rb
patch
|
blob
|
history
diff --git
a/utils/usr_filter.rb
b/utils/usr_filter.rb
index
05e3fe8
..
10d4094
100755
(executable)
--- a/
utils/usr_filter.rb
+++ b/
utils/usr_filter.rb
@@
-33,17
+33,24
@@
while gets
when /^\/\*\s.*\*\// # /* comment */ type comment
if doxy == 1
when /^\/\*\s.*\*\// # /* comment */ type comment
if doxy == 1
- buf.push($_.gsub!(/\*\//, " ").gsub!(/\/\*/, "//")) # should be included only in the example code
+ # should be included only in the example code
+ ## We used to do the following substituion as a workaround of
+ ## a Doxygen bug.
+ ## buf.push($_.gsub!(/\*\//, " ").gsub!(/\/\*/, "//"))
+ buf.push($_)
end
when /\/\*\s.*\*\// # code + /* comment */ type comment
if doxy == 1
end
when /\/\*\s.*\*\// # code + /* comment */ type comment
if doxy == 1
- buf.push($_.gsub!(/\*\//, " ").gsub!(/\/\*/, "//")) # should be included in the example code
+ # should be included in the example code
+ ## See the above comment.
+ ## buf.push($_.gsub!(/\*\//, " ").gsub!(/\/\*/, "//"))
+ buf.push($_) # should be included in the example code
else
if doxy == 0
else
if doxy == 0
- commentblock(buf)
- buf = []
- print $_.gsub!(/\/\*\s.*\*\//," ") # should be omiited in code
+ commentblock(buf)
+ buf = []
+ print $_.gsub!(/\/\*\s.*\*\//," ") # should be omiited in code
end
end
end
end