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:
Ron Sluiter authored and Andrew Johnson committed 2010-04-12 11:31:24 -05:00
1 parent c185274de8
commit 20483795e4
1 file changed
+2
+2
View File
@@ -113,6 +113,8 @@ static void yyerrorAbort(char *str)
{
yyerror(str);
yyAbort = TRUE;
while (ellCount(&tempList))
popFirstTemp();
}
static void allocTemp(void *pvoid)