diff options
Diffstat (limited to 'bnf/main.cpp')
-rw-r--r-- | bnf/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bnf/main.cpp b/bnf/main.cpp index e2c4b3b4..f88eb21f 100644 --- a/bnf/main.cpp +++ b/bnf/main.cpp @@ -89,6 +89,7 @@ int main(int argc, char *argv[]) { } ParserContext new_context(filename); + yylineno = 1; int rv = yyparse(new_context); fclose(yyin); if( rv != 0 ) { |