don't deallocate the parser on a compile error -_-

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-18 16:40:20 +02:00
parent 304cf173cd
commit 16b5f28b40

View file

@ -2234,7 +2234,6 @@ bool parser_compile(const char *filename)
else if (!parser->errors)
parseerror(parser, "parse error\n");
lex_close(parser->lex);
mem_d(parser);
return false;
}
}