*.c
*.cpp
*.h
*.hpp
commentDoxygen
/\*\*
\*/
macro
\@[A-Z_]{4,500}\@
keyword
@\w*[ \t]*(\[(in|out| |,)*\])?[ \t]*([a-zA-Z0-9\-_]*)
SYNTAX_ERROR
/\*[ \t]*@review
\*/
comment
/\*
\*/
preprocesseur
#[ \t]*if 0
#endif|#else
\
preprocesseur
#
\n
\
commentDoxygen
//!
\n
SYNTAX_ERROR
//[ \t]*TODO[ \t]*:
\n
\
comment
//
\n
\
doubleQuoteText
"
"
\
doubleQuoteText
'
'
keyword
\@return|goto|if|else|case|default|switch|break|continue|while|do|for|sizeof\@
systemFunction
\@new|delete|try|catch|memset|fopen|fread|fwrite|fgets|fclose|printf|(f|s|diag_)printf|calloc|malloc|realloc|(cyg|sup)_([a-z]|[A-Z]|[0-9]|_)+\@
type
\@bool|BOOL|char|double|float|u?int(8|16|32|64|128)?(_t)?|long|short|signed|size_t|unsigned|void|(I|U)(8|16|32|64|128)\@
storageKeyword
\@const|class|virtual|private|public|protected|friend|const|extern|auto|register|static|unsigned|signed|volatile|char|double|float|int|long|short|void|typedef|struct|union|enum\@
commonDefine
\@NULL|MAX|MIN|__LINE__|__DATA__|__FILE__|__func__|__TIME__|__STDC__\@
number
\@((0(x|X)[0-9a-fA-F]*)|(\d+\.?\d*|\.\d+)((e|E)(\+|\-)?\d+)?)(L|l|UL|ul|u|U|F|f)?\@
boolean
\@true|TRUE|false|FALSE\@
macro
\@[A-Z_][A-Z_0-9]{3,500}\@
functionName
\@(\w|_)+[ \t]*\(
boolean
==|<=|>=|!=|<{1,2}|>{1,2}|&&|\{|\}|