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.l | |
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.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build.l b/src/build.l index 3e95132..41abaf4 100644 --- a/src/build.l +++ b/src/build.l | |||
@@ -1,6 +1,6 @@ | |||
1 | %{ | 1 | %{ |
2 | # include <string> | 2 | # include <string> |
3 | # include "builder.h" | 3 | # include "buildparser.h" |
4 | # include "build.tab.h" | 4 | # include "build.tab.h" |
5 | # include "stringrep.h" | 5 | # include "stringrep.h" |
6 | 6 | ||
@@ -116,7 +116,7 @@ std::string strbuf; | |||
116 | 116 | ||
117 | %% | 117 | %% |
118 | 118 | ||
119 | void Builder::scanBegin() | 119 | void BuildParser::scanBegin() |
120 | { | 120 | { |
121 | yy_flex_debug = false; | 121 | yy_flex_debug = false; |
122 | if( !(yyin = fopen( file.c_str(), "r" )) ) | 122 | if( !(yyin = fopen( file.c_str(), "r" )) ) |
@@ -125,7 +125,7 @@ void Builder::scanBegin() | |||
125 | } | 125 | } |
126 | } | 126 | } |
127 | 127 | ||
128 | void Builder::scanEnd() | 128 | void BuildParser::scanEnd() |
129 | { | 129 | { |
130 | fclose( yyin ); | 130 | fclose( yyin ); |
131 | } | 131 | } |