diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-08-28 18:26:07 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-28 18:26:07 +0000 |
| commit | f7809b1a74da9a653b475b6fa499b078cad48c74 (patch) | |
| tree | 612bed8a7e6303889f32e97ef984885841a8e819 /src/build.y | |
| parent | d2fe7edb2bfea20987a1f69935179fa5fc9f3b37 (diff) | |
| download | build-f7809b1a74da9a653b475b6fa499b078cad48c74.tar.gz build-f7809b1a74da9a653b475b6fa499b078cad48c74.tar.bz2 build-f7809b1a74da9a653b475b6fa499b078cad48c74.tar.xz build-f7809b1a74da9a653b475b6fa499b078cad48c74.zip | |
Renamed Builder to BuildParser, soon I'll add the Parser base class and make
the whole thing official.
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 | |||
