issue139 reset lexers on parse error

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2023-03-06 17:34:20 -07:00
parent 431b6542a9
commit 9fcb00cd58
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -730,7 +730,7 @@ void spefFlushBuffer();
int
SpefParse_error(const char *msg)
{
sta::spef_reader->warn(179, "%s.", msg);
spefFlushBuffer();
sta::spef_reader->warn(179, "%s.", msg);
return 0;
}