Permalink
Browse files

Fix incorrect parsing of block parameters.

  • Loading branch information...
clayton-shopify committed Jan 21, 2017
1 parent c48aef0 commit 797ff625f3ef182ca9ce55d7f8f3bc9ba8adb298
Showing with 1 addition and 1 deletion.
  1. +1 −1 mrbgems/mruby-compiler/core/parse.y
@@ -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
{

0 comments on commit 797ff62

Please sign in to comment.