--- code2html 2006-05-13 03:17:35.000000000 +0200
+++ code2html.new 2006-05-13 03:44:34.000000000 +0200
@@ -2348,5 +2348,5 @@
{
'name' => 'numeric constant',
- 'regex' => '\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b',
+ 'regex' => '\\b(((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?|false|true)\\b',
'style' => 'numeric',
'childregex' => []
@@ -2360,5 +2360,5 @@
{
'name' => 'keyword',
- 'regex' => '\\b(new|delete|this|return|goto|if|else|case|default|switch|break|continue|while|do|for|catch|throw|sizeof|true|false|namespace|using|dynamic_cast|static_cast|reinterpret_cast)\\b',
+ 'regex' => '\\b(and|and_eq|asm|bitand|bitor|break|case|catch|compl|const_cast|continue|default|delete|do|dynamic_cast|else|export|for|goto|if|namespace|new|not|not_eq|or|or_eq|reinterpret_cast|return|static_cast|switch|sizeof|this|throw|try|using|while|xor|xor_eq)\\b',
'style' => 'reserved word',
'childregex' => []