aboutsummaryrefslogtreecommitdiff
path: root/src/build.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.l')
-rw-r--r--src/build.l4
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
119void Builder::scanEnd() 121void Builder::scanEnd()