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:
4592817
)
*** empty log message ***
author
nisikimi
<nisikimi>
Tue, 24 Jun 2003 06:24:44 +0000
(06:24 +0000)
committer
nisikimi
<nisikimi>
Tue, 24 Jun 2003 06:24:44 +0000
(06:24 +0000)
utils/usr_filter.rb
patch
|
blob
|
history
diff --git
a/utils/usr_filter.rb
b/utils/usr_filter.rb
index
b09f7fb
..
5d33691
100755
(executable)
--- a/
utils/usr_filter.rb
+++ b/
utils/usr_filter.rb
@@
-49,7
+49,7
@@
while gets
when /\/\*\*\*\s.*\*\// #one liner
buf.push($_.gsub!(/\/\*+/, " ").gsub!(/\*\//, " ")).push("\n")
when /\/\*\*\*\s.*\*\// #one liner
buf.push($_.gsub!(/\/\*+/, " ").gsub!(/\*\//, " ")).push("\n")
- when /\/\*{1,2}\s|\/\*{2,3}ja|\/\*\*en/
+ when /\/\*{1,2}\s|\/\*{2,3}ja|\/\*\*en/ #this is not for En nor users
doxy = -1
when /\/\*\*\*en/
buf.push($_.gsub!(/\/\*+en/, " "))
doxy = -1
when /\/\*\*\*en/
buf.push($_.gsub!(/\/\*+en/, " "))
@@
-59,7
+59,7
@@
while gets
doxy = 1
when /EXAMPLE_CODE/
doxy = 1
when /EXAMPLE_CODE/
- buf.push($_.gsub!(/#if EXAMPLE_CODE/, "@code \n"))
+ buf.push($_.gsub!(/#if EXAMPLE_CODE/, "\n \n @par Example:\n @code"))
doxy = 1
when /#endif/
doxy = 1
when /#endif/
@@
-88,3
+88,5
@@
while gets
end
end
end
end
end
end
+
+commentblock(buf)