Pop off all the locals after a function

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-22 12:59:52 +02:00
parent 54bdd06aab
commit 330a801ae9

View file

@ -2448,6 +2448,8 @@ nextvar:
return false;
}
parser->function = old;
while (parser->locals_count)
parser_pop_local(parser);
if (!block) {
ast_value_delete(typevar);