*** empty log message ***
[m17n/m17n-docs.git] / utils / usr_filter.rb
index cade553..52ac710 100755 (executable)
@@ -45,6 +45,11 @@ while gets
        commentblock(buf)
        buf = []
 
+      when /\/\* @[{}] \*\//   # /* comment */ type comment 
+       commentblock(buf)
+       buf = []
+        print($_)
+
       when /^\/\*\s.*\*\//     # /* comment */ type comment 
 #      if doxy == 1            
 #        # should be included only in the example code
@@ -85,6 +90,8 @@ while gets
         buf.push($_.gsub!(/\/\*+/, " "))
        doxy = 1
 
+     when /\/\*/       #other comment
+
      when /EXAMPLE_CODE/ 
        #start example code lines
         buf.push($_.gsub!(/#if EXAMPLE_CODE/, "\n \n @par Example:\n @code"))