summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-30 13:04:50 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-30 13:04:50 +0900
commit8461a31cb491f272524d14a9e54fcc9fae7a22c1 (patch)
treeae18bde72e2c77a3441e58da06ddefc6b41480f3 /mrbgems/mruby-compiler/core
parent0e9c9acc11f48808671df86f8beae6a1f394fe4c (diff)
downloadmruby-8461a31cb491f272524d14a9e54fcc9fae7a22c1.tar.gz
mruby-8461a31cb491f272524d14a9e54fcc9fae7a22c1.zip
Fixed too much void_expr_error(); fix #3307
Diffstat (limited to 'mrbgems/mruby-compiler/core')
-rw-r--r--mrbgems/mruby-compiler/core/parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index 9f6914104..ef522d239 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -1936,7 +1936,6 @@ arg_rhs : arg %prec tOP_ASGN
| arg modifier_rescue arg
{
void_expr_error(p, $1);
- void_expr_error(p, $3);
$$ = new_mod_rescue(p, $1, $3);
}
;