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

ruby-changes:56591

From: Nobuyoshi <ko1@a...>
Date: Fri, 19 Jul 2019 06:40:25 +0900 (JST)
Subject: [ruby-changes:56591] Nobuyoshi Nakada: a027c4b5b0 (master): Use Qnull instead of 0 and Qundef

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

From a027c4b5b0bc1d6786852249847e8a2f56404d1a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 19 Jul 2019 06:15:05 +0900
Subject: Use Qnull instead of 0 and Qundef


diff --git a/parse.y b/parse.y
index a950208..e6deefc 100644
--- a/parse.y
+++ b/parse.y
@@ -5100,10 +5100,7 @@ opt_f_block_arg	: ',' f_block_arg https://github.com/ruby/ruby/blob/trunk/parse.y#L5100
 		    }
 		| none
 		    {
-		    /*%%%*/
-			$$ = 0;
-		    /*% %*/
-		    /*% ripper: Qundef %*/
+			$$ = Qnull;
 		    }
 		;
 
-- 
cgit v0.10.2


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

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