diff options
-rw-r--r-- | dimension/tokenize.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dimension/tokenize.h b/dimension/tokenize.h index 18d594b..9ea27ee 100644 --- a/dimension/tokenize.h +++ b/dimension/tokenize.h @@ -21,9 +21,18 @@ #define TOKENIZE_H #include "../libdimension/dimension.h" + +#define yytokentype dmnsn_yytokentype +#define YYSTYPE +#define YYLTYPE + #include "grammar.h" -typedef enum yytokentype dmnsn_token_type; +#undef YYLTYPE +#undef YYSTYPE +#undef yytokentype + +typedef enum dmnsn_yytokentype dmnsn_token_type; typedef struct dmnsn_token dmnsn_token; |