5 TS(IDENTIFIER, "identifier", = 256)
6 TS(INTEGER, "integer number",)
7 TS(CHARACTER_CONSTANT, "character constant",)
8 TS(WIDE_CHARACTER_CONSTANT, "wide character constant",)
9 TS(FLOATINGPOINT, "floatingpoint number",)
10 TS(STRING_LITERAL, "string literal",)
11 TS(WIDE_STRING_LITERAL, "wide string literal",)
13 #define PUNCTUATOR(name,string,val) T(_ALL,name,string,val)
14 #include "tokens_punctuator.inc"
17 #define S(mode,x) T(mode,x,#x,)
50 S(_ALL, __extension__)
51 S(_ALL, __builtin_classify_type)
52 S(_ALL, __builtin_va_list)
53 S(_ALL, __builtin_expect)
54 S(_ALL, __builtin_offsetof)
55 S(_ALL, __builtin_va_arg)
56 S(_ALL, __builtin_va_end)
57 S(_ALL, __builtin_alloca)
58 S(_ALL, __builtin_nanf)
59 S(_ALL, __builtin_nan)
60 S(_ALL, __builtin_nand)
61 S(_ALL, __builtin_isgreater)
62 S(_ALL, __builtin_isgreaterequal)
63 S(_ALL, __builtin_isless)
64 S(_ALL, __builtin_islessequal)
65 S(_ALL, __builtin_islessgreater)
66 S(_ALL, __builtin_isunordered)
67 S(_ALL, __builtin_constant_p)
68 S(_ALL, __builtin_prefetch)
69 S(_ALL, __builtin_huge_val)
70 S(_ALL, __PRETTY_FUNCTION__)
78 /* needed on Windows */
86 /* needed on darwin... */
100 #define S(mode, x, val) T(mode, x, #x, val)
101 S(_ANSI|_C99, signed, )
102 S(_ALL, __signed, = T_signed)
103 S(_ALL, __signed__, = T_signed)
104 S(_C99|_GNUC, _Complex, )
105 S(_ALL, __complex__, = T__Complex)
106 S(_ALL, __complex, = T__Complex)
107 S(_C99|_GNUC, _Imaginary, )
109 S(_ALL, __real, = T___real__)
111 S(_ALL, __imag, = T___imag__)
112 S(_ALL, __alignof__, )
113 S(_ALL, __alignof, = T___alignof__)
114 S(_MS, _alignof, = T___alignof__)
115 S(_ANSI|_C99, const, )
116 S(_ALL, __const, = T_const)
117 S(_ALL, __const__, = T_const)
119 S(_ALL, __restrict__, = T_restrict)
120 S(_ALL, __restrict, = T_restrict)
121 S(_MS, _restrict, = T_restrict)
123 S(_ALL, __asm__, = T_asm)
124 S(_MS, _asm, = T_asm)
125 S(_ALL, __asm, = T_asm)
126 S(_ANSI|_C99, volatile, )
127 S(_ALL, __volatile, = T_volatile)
128 S(_ALL, __volatile__, = T_volatile)
130 S(_ALL, __inline, = T_inline)
131 S(_ALL, __inline__, = T_inline)
133 S(_ALL, __typeof, = T_typeof)
134 S(_ALL, __typeof__, = T_typeof)
135 S(_ALL, __attribute__, )
137 S(_ALL, __builtin_va_start, )
138 S(_ALL, __builtin_stdarg_start, = T___builtin_va_start)
141 S(_MS, __near, = T__near)
143 S(_MS, __far, = T__far)
145 S(_MS, _cdecl, = T_cdecl)
146 S(_MS, __cdecl, = T_cdecl)
148 S(_MS, __stdcall, = T__stdcall)
150 S(_MS, __fastcall, = T__fastcall)
152 S(_MS, _forceinline, )
153 S(_MS, __forceinline, = T__forceinline)
154 S(_MS, __unaligned, )
156 S(_MS, __assume, = T__assume)
158 S(_MS, __try, = T__try)
160 S(_MS, __finally, = T__finally)
162 S(_MS, __leave, = T__leave)
164 S(_MS, __except, = T__except)
166 S(_MS, __declspec, = T__declspec)
168 S(_MS, __based, = T__based)
176 S(_MS, __w64, = T__w64)
179 S(_MS, __int8, = T__int8)
181 S(_MS, __int16, = T__int16)
183 S(_MS, __int32, = T__int32)
185 S(_MS, __int64, = T__int64)
187 S(_MS, __int128, = T__int128)