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
mizuho / source-highlight / cpp.lang
100644 16 lines (12 sloc) 0.422 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# definitions for C++
# most of it is shared with c.lang
 
(keyword,normal,classname) =
  `(\<(?:class|struct|typename))([[:blank:]]+)([[:alnum:]_]+)`
 
keyword = "class|const_cast|delete",
  "dynamic_cast|explicit|false|friend",
  "inline|mutable|namespace|new|operator|private|protected",
  "public|reinterpret_cast|static_cast",
  "template|this|throw|true",
  "try|typeid|typename",
  "using|virtual"
 
include "c.lang"