ruby-changes:49833
From: mame <ko1@a...>
Date: Fri, 19 Jan 2018 19:26:18 +0900 (JST)
Subject: [ruby-changes:49833] mame:r61951 (trunk): parse.y: Fix excessed_comma event
mame 2018-01-19 19:26:12 +0900 (Fri, 19 Jan 2018) New Revision: 61951 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61951 Log: parse.y: Fix excessed_comma event I believe that the assignment to `$$` was just forgotten. Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 61950) +++ parse.y (revision 61951) @@ -3053,7 +3053,7 @@ block_param : f_arg ',' f_block_optarg ' https://github.com/ruby/ruby/blob/trunk/parse.y#L3053 $$ = 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/