aboutsummaryrefslogtreecommitdiff
path: root/src/build.l
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-28 18:26:07 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-28 18:26:07 +0000
commitf7809b1a74da9a653b475b6fa499b078cad48c74 (patch)
tree612bed8a7e6303889f32e97ef984885841a8e819 /src/build.l
parentd2fe7edb2bfea20987a1f69935179fa5fc9f3b37 (diff)
downloadbuild-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 'src/build.l')
-rw-r--r--src/build.l6
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
119void Builder::scanBegin() 119void 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
128void Builder::scanEnd() 128void BuildParser::scanEnd()
129{ 129{
130 fclose( yyin ); 130 fclose( yyin );
131} 131}