pop cmdarg in lambda body; fix [ruby-bug#11380]

regression introduced by 2fe556d9c0
This commit is contained in:
cremno
2015-07-29 20:52:32 +02:00
parent 0da057d99c
commit ca49936468
+1
View File
@@ -2154,6 +2154,7 @@ primary : literal
$$ = new_lambda(p, $3, $5);
local_unnest(p);
p->cmdarg_stack = $<stack>4;
CMDARG_LEXPOP();
}
| keyword_if expr_value then
compstmt