Remove "dbRecordHead: tempList not empty" errors.
Loading a .db file that uses an unknown record type leaves items on the parser's tempList. This patch empties that list when the error is reported so future dbLoadRecords() commands can run.
This commit is contained in:
1 parent
c185274de8
commit
20483795e4
1 file changed
+2
@@ -113,6 +113,8 @@ static void yyerrorAbort(char *str)
|
||||
{
|
||||
yyerror(str);
|
||||
yyAbort = TRUE;
|
||||
while (ellCount(&tempList))
|
||||
popFirstTemp();
|
||||
}
|
||||
|
||||
static void allocTemp(void *pvoid)
|
||||
|
||||
Reference in new issue
Block a user