mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-22 07:14:11 +00:00
wpp: Reset lexer state after unexpected end of file.
This commit is contained in:
parent
2c5a7743be
commit
1d9bb50230
|
@ -774,7 +774,10 @@ void pp_writestring(const char *format, ...)
|
|||
if(!bep)
|
||||
{
|
||||
if(YY_START != INITIAL)
|
||||
{
|
||||
ppy_error("Unexpected end of file during preprocessing");
|
||||
BEGIN(INITIAL);
|
||||
}
|
||||
yyterminate();
|
||||
}
|
||||
else if(bep->should_pop == 2)
|
||||
|
|
Loading…
Reference in a new issue