X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token_t.h;h=c1975a0567cd54f94d50eb6e24fb0808e6133bcd;hb=97f33b63c421063c4cbc869c60076b9132667835;hp=be48841cafae76aea7271e879effb6c9afea3c15;hpb=fbad4d6c6c4f43d7ae379d1ff48c1c1c21768edf;p=cparser diff --git a/token_t.h b/token_t.h index be48841..c1975a0 100644 --- a/token_t.h +++ b/token_t.h @@ -16,6 +16,14 @@ typedef enum { T_ERROR = -2 } token_type_t; +typedef enum { +#define T(x,str,val) TP_##x val, +#define TS(x,str,val) TP_##x val, +#include "tokens_preprocessor.inc" +#undef TS +#undef T +} preprocessor_token_type_t; + typedef struct { int type; union {