Stricter syntax check - reject extra cruft afer "OMIT DUMP"

This commit is contained in:
David F. Skoll
2010-09-01 17:12:55 -04:00
parent 9a15a25a7b
commit 4fb4db15e8

View File

@@ -302,6 +302,8 @@ int DoOmit(ParsePtr p)
case T_Dumpvars:
if (not_first_token) return E_PARSE_ERR;
DBufFree(&buf);
r = VerifyEoln(p);
if (r != OK) return r;
DumpOmits();
return OK;