Skip to content

Commit

Permalink
Fix incorrect parsing of block parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
clayton-shopify committed Jan 21, 2017
1 parent c48aef0 commit 797ff62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-compiler/core/parse.y
Expand Up @@ -2448,7 +2448,7 @@ block_param : f_arg ',' f_block_optarg ',' f_rest_arg opt_f_block_arg
}
| f_arg ','
{
$$ = new_args(p, $1, 0, 1, 0, 0);
$$ = new_args(p, $1, 0, 0, 0, 0);
}
| f_arg ',' f_rest_arg ',' f_arg opt_f_block_arg
{
Expand Down

0 comments on commit 797ff62

Please sign in to comment.