diff options
Diffstat (limited to '')
-rw-r--r-- | src/build.y | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/build.y b/src/build.y index e9c0083..bb30d84 100644 --- a/src/build.y +++ b/src/build.y | |||
@@ -1,14 +1,14 @@ | |||
1 | %defines | 1 | %defines |
2 | %{ | 2 | %{ |
3 | # include <string> | 3 | # include <string> |
4 | # include "builder.h" | 4 | # include "buildparser.h" |
5 | # include "build.tab.h" | 5 | # include "build.tab.h" |
6 | # include "action.h" | 6 | # include "action.h" |
7 | void yyerror( YYLTYPE *locp, Builder &bld, char const *msg ); | 7 | void yyerror( YYLTYPE *locp, BuildParser &bld, char const *msg ); |
8 | %} | 8 | %} |
9 | 9 | ||
10 | %parse-param { Builder &bld } | 10 | %parse-param { BuildParser &bld } |
11 | %lex-param { Builder &bld } | 11 | %lex-param { BuildParser &bld } |
12 | %pure-parser | 12 | %pure-parser |
13 | 13 | ||
14 | %locations | 14 | %locations |
@@ -254,8 +254,7 @@ perfparams: | |||
254 | ; | 254 | ; |
255 | %% | 255 | %% |
256 | 256 | ||
257 | void yyerror( YYLTYPE *locp, Builder &bld, char const *msg ) | 257 | void yyerror( YYLTYPE *locp, BuildParser &bld, char const *msg ) |
258 | { | 258 | { |
259 | bld.error( locp, msg ); | 259 | bld.error( locp, msg ); |
260 | } | 260 | } |
261 | |||