We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7bc1c44 + 1e932dd commit 9a48049Copy full SHA for 9a48049
mrbgems/mruby-compiler/core/parse.y
@@ -4562,11 +4562,15 @@ f_arglist : f_arglist_paren
4562
4563
f_label : tIDENTIFIER tLABEL_TAG
4564
{
4565
+ $$ = $1;
4566
local_nest(p);
4567
+ p->lstate = EXPR_ARG; /* make newlines significant after label */
4568
}
4569
| tNUMPARAM tLABEL_TAG
4570
4571
+ $$ = intern_numparam($1);
4572
4573
4574
4575
;
4576
0 commit comments