From e36f44e8303ee937fec2a6d86dbc9e573fb842a5 Mon Sep 17 00:00:00 2001 From: nisikimi Date: Tue, 24 Jun 2003 06:24:44 +0000 Subject: [PATCH] *** empty log message *** --- utils/usr_filter.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/usr_filter.rb b/utils/usr_filter.rb index b09f7fb..5d33691 100755 --- 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 /\/\*{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/, " ")) @@ -59,7 +59,7 @@ while gets 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/ @@ -88,3 +88,5 @@ while gets end end end + +commentblock(buf) -- 1.7.10.4