Skip to content

Commit ac9f7ae

Browse files
authored
Merge pull request mruby#6767 from mruby/fix/lparen-arg-compstmt
2 parents 801eefe + 919cbd8 commit ac9f7ae

File tree

2 files changed

+1865
-1833
lines changed

2 files changed

+1865
-1833
lines changed

mrbgems/mruby-compiler/core/parse.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,7 @@ primary : literal
32603260
$<stack>$ = p->cmdarg_stack;
32613261
p->cmdarg_stack = 0;
32623262
}
3263-
stmt {p->lstate = EXPR_ENDARG;} rparen
3263+
compstmt {p->lstate = EXPR_ENDARG;} rparen
32643264
{
32653265
p->cmdarg_stack = $<stack>2;
32663266
$$ = $3;

0 commit comments

Comments
 (0)