X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=tokens.inc;h=8692cff0972025d25fde986923065e5f7cbffe88;hb=087130404a59dcdd95aa0d7ac7feec2793e9ce87;hp=996666b489b0f2e52b51b136dc8dbdfa6b76990d;hpb=87686a3e9a834c551c74c5391b4859aa8fca8482;p=cparser diff --git a/tokens.inc b/tokens.inc index 996666b..8692cff 100644 --- a/tokens.inc +++ b/tokens.inc @@ -3,8 +3,8 @@ #endif TS(IDENTIFIER, "identifier", = 256) -TS(TYPENAME, "typename",) TS(INTEGER, "integer number",) +TS(FLOATINGPOINT, "floatingpoint number",) TS(STRING_LITERAL, "string literal",) #define S(x) T(x,#x,) @@ -12,7 +12,6 @@ S(auto) S(break) S(case) S(char) -S(const) S(continue) S(default) S(do) @@ -24,11 +23,9 @@ S(float) S(for) S(goto) S(if) -S(inline) S(int) S(long) S(register) -S(restrict) S(return) S(short) S(signed) @@ -45,13 +42,33 @@ S(while) S(_Bool) S(_Complex) S(_Imaginary) +S(__thread) S(__extension__) S(__attribute__) -S(__u_quad_t) -S(__quad_t) +S(__builtin_va_list) +S(__builtin_expect) +S(__builtin_offsetof) +S(__builtin_va_start) +S(__builtin_va_arg) +S(__builtin_va_end) +S(__PRETTY_FUNCTION__) +S(__FUNCTION__) +S(__alignof__) +S(__typeof__) +S(__real__) +S(__imag__) #undef S -T(SELECT, "->",) +T(const, "__const",) +T(_const, "const", = T_const) +T(restrict, "__restrict",) +T(_restrict, "restrict", = T_restrict) +T(asm, "asm",) +T(__asm__, "__asm__", = T_asm) +T(inline, "inline",) +T(__inline, "__inline", = T_inline) + +T(MINUSGREATER, "->",) T(PLUSPLUS, "++",) T(MINUSMINUS, "--",) T(LESSLESS, "<<",)