diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-28 22:53:00 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-28 22:53:00 -0500 |
commit | 15269687f6a9bdccd30dd370875bf18416f60dca (patch) | |
tree | 5e222128a2889af67139f010b40630bb7d49fdbf /dimension/tokenize.h | |
parent | d105475ef9d024d570a4c02ee8823c47a57fbabc (diff) | |
download | dimension-15269687f6a9bdccd30dd370875bf18416f60dca.tar.xz |
Don't pollute global namespace with grammar.h.
Diffstat (limited to 'dimension/tokenize.h')
-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; |