changed the way preprocessing directives are parsed
[cparser] / token_t.h
index 21669af..c1975a0 100644 (file)
--- a/token_t.h
+++ b/token_t.h
@@ -19,12 +19,9 @@ typedef enum {
 typedef enum {
 #define T(x,str,val) TP_##x val,
 #define TS(x,str,val) TP_##x val,
-#include "tokens.inc"
+#include "tokens_preprocessor.inc"
 #undef TS
 #undef T
-
-       TP_EOF   = T_EOF,
-       TP_ERROR = T_ERROR
 } preprocessor_token_type_t;
 
 typedef struct {