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:
committed by
Andrew Johnson
parent
c185274de8
commit
20483795e4
@@ -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