more work on parser
[cparser] / token_t.h
index be48841..c1975a0 100644 (file)
--- 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 {