ruby-changes:72974
From: S-H-GAMELINKS <ko1@a...>
Date: Fri, 19 Aug 2022 09:51:19 +0900 (JST)
Subject: [ruby-changes:72974] 3541f32951 (master): Reuse opt_nl rule
https://git.ruby-lang.org/ruby.git/commit/?id=3541f32951 From 3541f32951fecdfea76ef6de028d50ba58cb07b9 Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS <gamelinks007@g...> Date: Mon, 6 Jun 2022 23:13:55 +0900 Subject: Reuse opt_nl rule --- parse.y | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parse.y b/parse.y index cdb7b4b93c..426e4df772 100644 --- a/parse.y +++ b/parse.y @@ -5779,8 +5779,7 @@ rbracket : opt_nl ']' https://github.com/ruby/ruby/blob/trunk/parse.y#L5779 rbrace : opt_nl '}' ; -trailer : /* none */ - | '\n' +trailer : opt_nl | ',' ; -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/