diff options
Diffstat (limited to 'src/build.l')
| -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 | } |
