summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 10:26:12 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-19 10:26:12 +0000
commit9eb4344a16ec37eb5660099c1aad12f9a8dc914d (patch)
tree8525160e226a90df10278e6b85d968ad13cb27d7 /parse.y
parentde9d264026c870afd79a8843764ccbf60367bb0e (diff)
parse.y: Fix excessed_comma event
I believe that the assignment to `$$` was just forgotten. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 9c7586e6b6..87e9e7b592 100644
--- a/parse.y
+++ b/parse.y
@@ -3053,7 +3053,7 @@ block_param : f_arg ',' f_block_optarg ',' f_rest_arg opt_block_args_tail
$$ = new_args(p, $1, Qnone, 1, Qnone, new_args_tail(p, Qnone, Qnone, Qnone, &@1), &@$);
/*%%%*/
/*%
- dispatch1(excessed_comma, $$);
+ $$ = dispatch1(excessed_comma, $$);
%*/
}
| f_arg ',' f_rest_arg ',' f_arg opt_block_args_tail