From 9eb4344a16ec37eb5660099c1aad12f9a8dc914d Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 19 Jan 2018 10:26:12 +0000 Subject: [PATCH] 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 --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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