[前][次][番号順一覧][スレッド一覧]

ruby-changes:71154

From: S-H-GAMELINKS <ko1@a...>
Date: Sat, 12 Feb 2022 12:28:17 +0900 (JST)
Subject: [ruby-changes:71154] e6b537e605 (master): Reuse operation rule for operation2

https://git.ruby-lang.org/ruby.git/commit/?id=e6b537e605

From e6b537e605381b6f1c9518adbeb6813c5e579df7 Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Sat, 12 Feb 2022 00:07:02 +0900
Subject: Reuse operation rule for operation2

---
 parse.y | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/parse.y b/parse.y
index 1c48d17d0d..32d4949869 100644
--- a/parse.y
+++ b/parse.y
@@ -5740,9 +5740,7 @@ operation	: tIDENTIFIER https://github.com/ruby/ruby/blob/trunk/parse.y#L5740
 		| tFID
 		;
 
-operation2	: tIDENTIFIER
-		| tCONSTANT
-		| tFID
+operation2	: operation
 		| op
 		;
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]