Merge pull request #6767 from mruby/fix/lparen-arg-compstmt

This commit is contained in:
Yukihiro "Matz" Matsumoto
2026-03-30 07:54:31 +09:00
committed by GitHub
2 changed files with 1870 additions and 1838 deletions
+1 -1
View File
@@ -3260,7 +3260,7 @@ primary : literal
$<stack>$ = p->cmdarg_stack;
p->cmdarg_stack = 0;
}
stmt {p->lstate = EXPR_ENDARG;} rparen
compstmt {p->lstate = EXPR_ENDARG;} rparen
{
p->cmdarg_stack = $<stack>2;
$$ = $3;
File diff suppressed because it is too large Load Diff