text/x-c;text/x-csrc;image/x-xpixmap
*.c
//
/*
*/
.c
(\.[\s\n\r]*[\w]+)[\s\n\r]*(?=\(.*\))
^\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
u[0-9A-Fa-f]{4} | # 'u' followed by 4 hex digits
U[0-9A-Fa-f]{8} # 'U' followed by 8 hex digits
)
\%\%|\%
(?:[1-9][0-9]*\$)? # argument
[#0\-\ \+\'I]* # flags
(?:[1-9][0-9]*|\*)? # width
(?:\.\-?(?:[0-9]+|\*))? # precision
(?:hh|ll|[hlLqjzt])? # length modifier
[diouxXeEfFgGaAcsCSpnm] # conversion specifier
\%{preproc-start}
(include|import)\s*
(<.*?>)
\%{preproc-start}
(include|import)\s*
(".*?")
\%{preproc-start}
(define|undef|error|pragma|ident|if(n?def)?|else|elif(n?def)?|endif|line|warning|embed)
\b
(L|u8|u|U)?"
"
\%{escaped-character}
(L|u8|u|U)?'(\%{escaped-character}|.)'
(?<![\w\.])
((\.[0-9]+ | [0-9]+\.[0-9]*) ([Ee][+-]?[0-9]+)? |
([0-9]+[Ee][+-]?[0-9]+) |
(0[xX][a-fA-F0-9]*\.?[a-fA-F0-9]*[pP][+-]?[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[0-7]+[uUlL]*
(?![\w\.])
(?<![\w\.])
0[0-7]*[89][0-9]*[uUlL]*
(?![\w\.])
(?<![\w\.])
0[bB][01]+[uUlL]*
(?![\w\.])
(?<![\w\.])
0[bB][01]*[2-9][a-zA-Z0-9]*[uUlL]*
(?![\w\.])
(?<![\w\.])
(0|[1-9][0-9]*)[uUlL]*
(?![\w\.])
asm
break
case
constexpr
continue
default
do
else
for
fortran
goto
if
return
switch
while
enum
struct
typedef
union
(_A|a)lignof
_Generic
offsetof
(_S|s)tatic_assert
sizeof
typeof
(_B|b)ool
_Complex
_Imaginary
char
double
float
int
long
short
signed
unsigned
void
[a-z_][0-9a-z_]+(_t|_T)
(_A|a)lignas
_Atomic
(_N|n)oreturn
(_T|t)hread_local
auto
const
extern
inline
register
restrict
static
volatile
true
false
nullptr
NULL
MAX
MIN
TRUE
FALSE
__LINE__
__DATE__
__FILE__
__func__
__TIME__
__STDC__
stdin
stdout
stderr
SIGABRT
SIGALRM
SIGCHLD
SIGCONT
SIGFPE
SIGHUP
SIGILL
SIGINT
SIGKILL
SIGPIPE
SIGQUIT
SIGSEGV
SIGSTOP
SIGTERM
SIGTRAP
SIGTSTP
SIGTTIN
SIGTTOU
SIGUSR1
SIGUSR2