Commit ca499364 authored by cremno's avatar cremno

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

regression introduced by 2fe556d9
parent 0da057d9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment