When compiling multiple input files, the line number counter
was not reset correctly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2859 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4d95f6c63c
commit
f6afc7c611
@ -275,6 +275,7 @@ void init_lexer()
|
||||
}
|
||||
|
||||
yyrestart(yyin); // necessary for multiple input files
|
||||
yylineno = 1;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user