text/x-c;text/x-csrc;image/x-xpixmap
*.c
//
/*
*/
.c
^\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
)
(?:ll?|LL?)[uU]|[uU]?(?:ll?|LL?)|[uU]?
\%\%|\%
(?:[1-9][0-9]*\$)? # argument
[#0\-\ \+\'I]* # flags
(?:[1-9][0-9]*|\*)? # width
(?:\.\-?(?:[0-9]+|\*))? # precision
(?:hh|ll|[hlLqjzt])? # length modifier
([diouxXeEfFgGaAcsCSpnm]| # conversion specifier
\[\^?\]?[^\]]*\]) # specific to scanf
(\%{preproc-start}(include|import))\s*
(".*?")
(\%{preproc-start}(include|import))\s*
(<.*?>)?
\%{preproc-start}
((el)?if|
define(\s+\w+(\([^)]*\)?)?)?
)
(\%{preproc-start}
(undef|pragma|ident|(el)?ifn?def|else|endif|line|error|warning|embed)
)\b
[#\\]
(L|u8|u|U)?"
"
\%{escaped-character}
(L|u8|u|U)?'(\%{escaped-character}|.)'
(?<![\w\.])
(((\.\d+ | \d+\.\d*) (e[+-]?\d+)? |
(\d+e[+-]?\d+) |
(0x[a-f\d]*\.?[a-f\d]*p[+-]?\d+))
[fl]?)
(\w*)
(?<![\w\.])
(0x[a-f\d]+\%{integer-suffix})
(\w*)
(?<![\w\.])
(0[0-7]+\%{integer-suffix})
(\w*)
(?<![\w\.])
(0[bB][01]+\%{integer-suffix})
(\w*)
(?<![\w\.])
((?:0|[1-9]\d*)\%{integer-suffix})
(\w*)
asm
break
case
constexpr
continue
default
do
else
for
fortran
goto
if
return
switch
while
enum
struct
typedef
union
(_A|a)lignof
defined
_Generic
offsetof
_Pragma
sizeof
(_S|s)tatic_assert
typeof
(_B|b)ool
_Complex
_Imaginary
char
double
float
int
long
short
signed
unsigned
va_list
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(_VERSION)?__
__VA_ARGS__
stdin
stdout
stderr
SIGABRT
SIGALRM
SIGCHLD
SIGCONT
SIGFPE
SIGHUP
SIGILL
SIGINT
SIGKILL
SIGPIPE
SIGQUIT
SIGSEGV
SIGSTOP
SIGTERM
SIGTRAP
SIGTSTP
SIGTTIN
SIGTTOU
SIGUSR1
SIGUSR2