diff options
Diffstat (limited to '')
-rw-r--r-- | src/buildparser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildparser.h b/src/buildparser.h index 47597bb..5e92895 100644 --- a/src/buildparser.h +++ b/src/buildparser.h | |||
@@ -8,6 +8,8 @@ | |||
8 | #ifndef BUILD_PARSER_H | 8 | #ifndef BUILD_PARSER_H |
9 | #define BUILD_PARSER_H | 9 | #define BUILD_PARSER_H |
10 | 10 | ||
11 | typedef void * yyscan_t; | ||
12 | class BuildParser; | ||
11 | #include "build.tab.h" | 13 | #include "build.tab.h" |
12 | 14 | ||
13 | #include "bu/stack.h" | 15 | #include "bu/stack.h" |
@@ -41,7 +43,6 @@ private: | |||
41 | Bu::Hash<Bu::String, bool> hConds; | 43 | Bu::Hash<Bu::String, bool> hConds; |
42 | }; | 44 | }; |
43 | 45 | ||
44 | typedef void * yyscan_t; | ||
45 | #define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b ) | 46 | #define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b ) |
46 | YY_DECL; | 47 | YY_DECL; |
47 | 48 | ||