FooBarWidget / mizuho

Documentation formatting tool. Converts Asciidoc input into nicely formatted HTML. Multiple templates are supported.

Hongli Lai (Phusion) (author)
Sat Jan 10 11:44:25 -0800 2009
commit  f2ac719df52094b447684f505ca674eb0bedfadf
tree    84e3727694ccdd7a6f376f0b7bdc62308f7a545d
parent  f8199431070c4e563bcdfcd33001ac87c4a71fba
mizuho / source-highlight / c_comment.lang
100644 27 lines (22 sloc) 0.526 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# c_comment.lang
 
vardef TODO = '(TODO|FIXME|BUG)([:]?)'
 
# comments with documentation tags
environment comment start "///" begin
  include "url.lang"
  include "html.lang"
  type = '@[[:alpha:]]+'
  todo = $TODO
end
 
comment start "//"
 
# comments with documentation tags
environment comment delim "/**" "*/" multiline begin
  include "url.lang"
  include "html.lang"
  type = '@[[:alpha:]]+'
  todo = $TODO
end
 
# standard comments
environment comment delim "/*" "*/" multiline begin
  include "url.lang"
  todo = $TODO
end