diff options
author | Mike Buland <eichlan@xagasoft.com> | 2018-11-20 23:13:14 -0800 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2018-11-20 23:13:14 -0800 |
commit | 3a0447e76e279c47b8e57924edc8b6d8dd269a4a (patch) | |
tree | a7e2c3b36bd2d4b0b81d5b2383c29da484a68246 /src/buildparser.h | |
parent | 31fa2d4836ce93993aa94364b1c3dd2195c90142 (diff) | |
download | build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.gz build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.bz2 build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.tar.xz build-3a0447e76e279c47b8e57924edc8b6d8dd269a4a.zip |
Correcting build issues.
Diffstat (limited to '')
-rw-r--r-- | src/buildparser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildparser.h b/src/buildparser.h index 47597bb..5337554 100644 --- a/src/buildparser.h +++ b/src/buildparser.h | |||
@@ -8,6 +8,9 @@ | |||
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; | ||
13 | |||
11 | #include "build.tab.h" | 14 | #include "build.tab.h" |
12 | 15 | ||
13 | #include "bu/stack.h" | 16 | #include "bu/stack.h" |
@@ -41,7 +44,6 @@ private: | |||
41 | Bu::Hash<Bu::String, bool> hConds; | 44 | Bu::Hash<Bu::String, bool> hConds; |
42 | }; | 45 | }; |
43 | 46 | ||
44 | typedef void * yyscan_t; | ||
45 | #define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b ) | 47 | #define YY_DECL int build_lex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner, BuildParser &b ) |
46 | YY_DECL; | 48 | YY_DECL; |
47 | 49 | ||