diff options
Diffstat (limited to 'src/build.l')
-rw-r--r-- | src/build.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build.l b/src/build.l index 620f9db..540af46 100644 --- a/src/build.l +++ b/src/build.l | |||
@@ -113,7 +113,9 @@ void Builder::scanBegin() | |||
113 | { | 113 | { |
114 | yy_flex_debug = false; | 114 | yy_flex_debug = false; |
115 | if( !(yyin = fopen( file.c_str(), "r" )) ) | 115 | if( !(yyin = fopen( file.c_str(), "r" )) ) |
116 | fprintf( stderr, "cannot open %s\n", file.c_str() ); | 116 | { |
117 | error( std::string("cannot open file: ") + file ); | ||
118 | } | ||
117 | } | 119 | } |
118 | 120 | ||
119 | void Builder::scanEnd() | 121 | void Builder::scanEnd() |