*.qc
//
/*
*/
^\s*#\s*
\\( # leading backslash
[\\\"\'nrbtfav\?] | # escaped character
[0-7]{1,3} | # one, two, or three octal digits
x[0-9A-Fa-f]+ # 'x' followed by hex digits
)
\%{preproc-start}
(include|import)\s*
(".*?"|<.*>)
\%{preproc-start}
(define|undef|error|pragma|ident|if(n?def)?|else|elif|endif|line|warning)
\b
(?<![\w\.])
((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]*)? |
([0-9]+[Ee][+-]?[0-9]*))
[fFlL]?
(?![\w\.])
(?<![\w\.])
0[xX][a-fA-F0-9]+[uUlL]*
(?![\w\.])
(?<![\w\.])
0[xX][a-fA-F0-9]*[g-zG-Z][a-zA-Z0-9]*[uUlL]*
(?![\w\.])
(?<![\w\.])
(0|[1-9][0-9]*)[uUlL]*
(?![\w\.])
break
case
continue
default
do
else
enum
for
goto
if
return
switch
typedef
while
nil
bool
string
vector
float
void
true
false
__LINE__
__FILE__
__TIME__
__RANDOM__
__RANDOM_LAST__
__COUNTER__
__COUNTER_LAST__
__DATE__