Fixed too much void_expr_error(); fix #3307

parent 0e9c9acc
...@@ -1936,7 +1936,6 @@ arg_rhs : arg %prec tOP_ASGN ...@@ -1936,7 +1936,6 @@ arg_rhs : arg %prec tOP_ASGN
| arg modifier_rescue arg | arg modifier_rescue arg
{ {
void_expr_error(p, $1); void_expr_error(p, $1);
void_expr_error(p, $3);
$$ = new_mod_rescue(p, $1, $3); $$ = new_mod_rescue(p, $1, $3);
} }
; ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment