Remove the unused TP_PUNCTUATOR.
[cparser] / tokens_preprocessor.inc
1 #ifndef TS
2 #define TS(x,str,val)
3 #endif
4
5 TS(IDENTIFIER,         "identifier", = 256)
6 TS(NUMBER,             "number",)
7 TS(CHARACTER_CONSTANT, "character constant",)
8 TS(STRING_LITERAL,     "string literal",)
9 TS(HEADERNAME,         "headername",)
10
11 #define ALTERNATE(name, val)          T(_CXX, name, #name,  val)
12 #define PUNCTUATOR(name, string, val) T(_ALL, name, string, val)
13 #include "tokens_punctuator.inc"
14 #undef PUNCTUATOR
15 #undef ALTERNATE
16
17 #define S(x)   T(_ALL,x,#x,)
18
19 S(if)
20 S(else)
21 S(elif)
22 S(endif)
23 S(ifdef)
24 S(ifndef)
25 S(include)
26 S(define)
27 S(undef)
28 S(line)
29 S(error)
30 S(pragma)
31
32 S(defined)
33 T(_ALL, va_args, "__VA_ARGS__",)
34 T(_MS, __COUNTER__, "__COUNTER__",)
35 T(_MS, __TIMESTAMP__, "__TIMESTAMP__",)
36
37 S(STDC)
38 S(ON)
39 S(OFF)
40 S(DEFAULT)
41 S(FP_CONTRACT)
42 S(FENV_ACCESS)
43 S(CX_LIMITED_RANGE)
44
45 #undef S