X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=tokens_preprocessor.inc;h=c26d40a2dd53720e27a915e50917a016084ebb33;hb=84b4c24ec6848505549af4b240df492317138f27;hp=9fb79663059588eecdf49422a65260f51f7f7500;hpb=cc5baf03706cebfcd0da082d60e18775198d1965;p=cparser diff --git a/tokens_preprocessor.inc b/tokens_preprocessor.inc index 9fb7966..c26d40a 100644 --- a/tokens_preprocessor.inc +++ b/tokens_preprocessor.inc @@ -1,29 +1,25 @@ -#define S(x) T(_ALL,x,#x,) - -S(if) -S(else) -S(elif) -S(endif) -S(ifdef) -S(ifndef) -S(include) -S(define) -S(undef) -S(line) -S(error) -S(pragma) - -S(defined) -T(_ALL, va_args, "__VA_ARGS__",) - -S(STDC) -S(ON) -S(OFF) -S(DEFAULT) -S(FP_CONTRACT) -S(FENV_ACCESS) -S(CX_LIMITED_RANGE) - -#undef S - -#define TP_LAST_TOKEN (TP_CX_LIMITED_RANGE + 1) +/* + * This file is part of cparser. + * Copyright (C) 2012 Matthias Braun + */ +T(CX_LIMITED_RANGE) +T(DEFAULT) +T(FENV_ACCESS) +T(FP_CONTRACT) +T(OFF) +T(ON) +T(STDC) +T(define) +T(defined) +T(elif) +T(else) /* remember that this gives T_else, not T_IDENTIFIER like most others */ +T(endif) +T(error) +T(if) /* remember that this gives T_if */ +T(ifdef) +T(ifndef) +T(include) +T(include_next) +T(line) +T(pragma) +T(undef)