add preprocessor tokens for STDC pragma and vararg macro
[cparser] / tokens_preprocessor.inc
1 #define S(x)   T(_ALL,x,#x,)
2
3 S(if)
4 S(else)
5 S(elif)
6 S(endif)
7 S(ifdef)
8 S(ifndef)
9 S(include)
10 S(define)
11 S(undef)
12 S(line)
13 S(error)
14 S(pragma)
15
16 S(defined)
17 T(_ALL, va_args, "__VA_ARGS__",)
18
19 S(STDC)
20 S(ON)
21 S(OFF)
22 S(DEFAULT)
23 S(FP_CONTRACT)
24 S(FENV_ACCESS)
25 S(CX_LIMITED_RANGE)
26
27 #undef S
28
29 #define TP_LAST_TOKEN  (TP_CX_LIMITED_RANGE + 1)