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
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"))