Skip to content

Commit

Permalink
+ ruby32.y: Reuse p_kwnorest rule for f_no_kwarg
Browse files Browse the repository at this point in the history
Follow up of ruby/ruby#5540.
  • Loading branch information
koic authored and iliabylich committed Feb 16, 2022
1 parent df46c5d commit 820cc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser/ruby32.y
Original file line number Diff line number Diff line change
Expand Up @@ -2967,7 +2967,7 @@ f_opt_paren_args: f_paren_args
kwrest_mark: tPOW | tDSTAR
f_no_kwarg: kwrest_mark kNIL
f_no_kwarg: p_kwnorest
{
result = [ @builder.kwnilarg(val[0], val[1]) ]
}
Expand Down

0 comments on commit 820cc04

Please sign in to comment.