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(_C99|_GNUC, _Complex)
51 S(_C99|_GNUC, _Imaginary)
53 S(_GNUC, __extension__)
54 S(_GNUC, __builtin_classify_type)
55 S(_GNUC, __builtin_va_list)
56 S(_GNUC, __builtin_expect)
57 S(_GNUC, __builtin_offsetof)
58 S(_GNUC, __builtin_va_arg)
59 S(_GNUC, __builtin_va_end)
60 S(_GNUC, __builtin_alloca)
61 S(_GNUC, __builtin_nanf)
62 S(_GNUC, __builtin_nan)
63 S(_GNUC, __builtin_nand)
64 S(_GNUC, __builtin_isgreater)
65 S(_GNUC, __builtin_isgreaterequal)
66 S(_GNUC, __builtin_isless)
67 S(_GNUC, __builtin_islessequal)
68 S(_GNUC, __builtin_islessgreater)
69 S(_GNUC, __builtin_isunordered)
70 S(_GNUC, __builtin_constant_p)
71 S(_GNUC, __builtin_prefetch)
72 S(_GNUC, __PRETTY_FUNCTION__)
79 T(_GNUC, __real__, "__real__",)
80 T(_GNUC, __real, "__real", = T___real__)
81 T(_GNUC, __imag__, "__imag__",)
82 T(_GNUC, __imag, "__imag", = T___imag__)
83 T(_GNUC|_MS, __alignof__, "__alignof__",)
84 T(_GNUC|_MS, __alignof, "__alignof", = T___alignof__)
85 T(_MS, _alignof, "_alignof", = T___alignof__)
86 T(_ANSI|_C99, const, "const",)
87 T(_GNUC, __const, "__const", = T_const)
88 T(_C99, restrict, "restrict",)
89 T(_GNUC, __restrict__, "__restrict__", = T_restrict)
90 T(_GNUC, __restrict, "__restrict", = T_restrict)
91 T(_MS, _restrict, "_restrict", = T_restrict)
93 T(_GNUC, __asm__, "__asm__", = T_asm)
94 T(_MS, _asm, "_asm", = T_asm)
95 T(_GNUC|_MS, __asm, "__asm", = T_asm)
96 T(_ANSI|_C99, volatile, "volatile",)
97 T(_GNUC, __volatile__, "__volatile__", = T_volatile)
98 T(_C99, inline, "inline",)
99 T(_GNUC|_MS, __inline, "__inline", = T_inline)
100 T(_GNUC, __inline__, "__inline__", = T_inline)
101 T(_GNUC, typeof, "typeof",)
102 T(_GNUC, __typeof, "__typeof", = T_typeof)
103 T(_GNUC, __typeof__, "__typeof__", = T_typeof)
104 T(_GNUC, __attribute__, "__attribute__",)
106 T(_GNUC, __builtin_va_start, "__builtin_va_start",)
107 T(_GNUC, __builtin_stdarg_start, "__builtin_stdarg_start", = T___builtin_va_start)
109 T(_MS, _near, "_near",)
110 T(_MS, __near, "__near", = T__near)
111 T(_MS, _far, "_far",)
112 T(_MS, __far, "__far", = T__far)
113 T(_MS, cdecl, "cdecl",)
114 T(_MS, _cdecl, "_cdecl", = T_cdecl)
115 T(_MS, __cdecl, "__cdecl", = T_cdecl)
116 T(_MS, _stdcall, "_stdcall",)
117 T(_MS, __stdcall, "__stdcall", = T__stdcall)
118 T(_MS, _fastcall, "_fastcall",)
119 T(_MS, __fastcall, "__fastcall", = T__fastcall)
120 T(_MS, __thiscall, "__thiscall",)
121 T(_MS, _forceinline, "_forceinline",)
122 T(_MS, __forceinline, "__forceinline", = T__forceinline)
123 T(_MS, __unaligned, "__unaligned",)
124 T(_MS, _assume, "_assume",)
125 T(_MS, __assume, "__assume", = T__assume)
126 T(_MS, _try, "_try",)
127 T(_MS, __try, "__try", = T__try)
128 T(_MS, _finally, "_finally",)
129 T(_MS, __finally, "__finally", = T__finally)
130 T(_MS, _leave, "_leave",)
131 T(_MS, __leave, "__leave", = T__leave)
132 T(_MS, _except, "_except",)
133 T(_MS, __except, "__except", = T__except)
134 T(_MS, _declspec, "_declspec",)
135 T(_MS, __declspec, "__declspec", = T__declspec)
136 T(_MS, _based, "_based",)
137 T(_MS, __based, "__based", = T__based)
139 T(_MS, __ptr32, "__ptr32",)
140 T(_MS, __ptr64, "__ptr64",)
141 T(_MS, __sptr, "__sptr",)
142 T(_MS, __uptr, "__uptr",)
143 T(_MS, _w64, "_w64",)
144 T(_MS, __w64, "__w64", = T__w64)
146 T(_MS, _int8, "_int8",)
147 T(_MS, __int8, "__int8", = T__int8)
148 T(_MS, _int16, "_int16",)
149 T(_MS, __int16, "__int16", = T__int16)
150 T(_MS, _int32, "_int32",)
151 T(_MS, __int32, "__int32", = T__int32)
152 T(_MS, _int64, "_int64",)
153 T(_MS, __int64, "__int64", = T__int64)
154 T(_MS, _int128, "_int128",)
155 T(_MS, __int128, "__int128", = T__int128)