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_inf)
59 S(_ALL, __builtin_inff)
60 S(_ALL, __builtin_infl)
61 S(_ALL, __builtin_nan)
62 S(_ALL, __builtin_nanf)
63 S(_ALL, __builtin_nanl)
64 S(_ALL, __builtin_isgreater)
65 S(_ALL, __builtin_isgreaterequal)
66 S(_ALL, __builtin_isless)
67 S(_ALL, __builtin_islessequal)
68 S(_ALL, __builtin_islessgreater)
69 S(_ALL, __builtin_isunordered)
70 S(_ALL, __builtin_constant_p)
71 S(_ALL, __builtin_prefetch)
72 S(_ALL, __builtin_huge_val)
73 S(_ALL, __PRETTY_FUNCTION__)
81 /* needed on Windows */
89 /* needed on darwin... */
103 #define S(mode, x, val) T(mode, x, #x, val)
104 S(_ANSI|_C99, signed, )
105 S(_ALL, __signed, = T_signed)
106 S(_ALL, __signed__, = T_signed)
107 S(_C99|_GNUC, _Complex, )
108 S(_ALL, __complex__, = T__Complex)
109 S(_ALL, __complex, = T__Complex)
110 S(_C99|_GNUC, _Imaginary, )
112 S(_ALL, __real, = T___real__)
114 S(_ALL, __imag, = T___imag__)
115 S(_ALL, __alignof__, )
116 S(_ALL, __alignof, = T___alignof__)
117 S(_MS, _alignof, = T___alignof__)
118 S(_ANSI|_C99, const, )
119 S(_ALL, __const, = T_const)
120 S(_ALL, __const__, = T_const)
122 S(_ALL, __restrict__, = T_restrict)
123 S(_ALL, __restrict, = T_restrict)
124 S(_MS, _restrict, = T_restrict)
126 S(_ALL, __asm__, = T_asm)
127 S(_MS, _asm, = T_asm)
128 S(_ALL, __asm, = T_asm)
129 S(_ANSI|_C99, volatile, )
130 S(_ALL, __volatile, = T_volatile)
131 S(_ALL, __volatile__, = T_volatile)
133 S(_ALL, __inline, = T_inline)
134 S(_ALL, __inline__, = T_inline)
136 S(_ALL, __typeof, = T_typeof)
137 S(_ALL, __typeof__, = T_typeof)
138 S(_ALL, __attribute__, )
140 S(_ALL, __builtin_va_start, )
141 S(_ALL, __builtin_stdarg_start, = T___builtin_va_start)
144 S(_MS, __near, = T__near)
146 S(_MS, __far, = T__far)
148 S(_MS, _cdecl, = T_cdecl)
149 S(_MS, __cdecl, = T_cdecl)
151 S(_MS, __stdcall, = T__stdcall)
153 S(_MS, __fastcall, = T__fastcall)
155 S(_MS, _forceinline, )
156 S(_MS, __forceinline, = T__forceinline)
157 S(_MS, __unaligned, )
159 S(_MS, __assume, = T__assume)
161 S(_MS, __try, = T__try)
163 S(_MS, __finally, = T__finally)
165 S(_MS, __leave, = T__leave)
167 S(_MS, __except, = T__except)
169 S(_MS, __declspec, = T__declspec)
171 S(_MS, __based, = T__based)
179 S(_MS, __w64, = T__w64)
182 S(_MS, __int8, = T__int8)
184 S(_MS, __int16, = T__int16)
186 S(_MS, __int32, = T__int32)
188 S(_MS, __int64, = T__int64)
190 S(_MS, __int128, = T__int128)