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

ruby-changes:30900

From: nobu <ko1@a...>
Date: Thu, 19 Sep 2013 16:59:10 +0900 (JST)
Subject: [ruby-changes:30900] nobu:r42979 (trunk): parse.y: duplicate code

nobu	2013-09-19 16:59:05 +0900 (Thu, 19 Sep 2013)

  New Revision: 42979

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42979

  Log:
    parse.y: duplicate code
    
    * parse.y (f_larglist): remove duplicate code in ripper.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 42978)
+++ parse.y	(revision 42979)
@@ -3482,11 +3482,7 @@ f_larglist	: '(' f_args opt_bv_decl ')' https://github.com/ruby/ruby/blob/trunk/parse.y#L3482
 		    }
 		| f_args
 		    {
-		    /*%%%*/
 			$$ = $1;
-		    /*%
-			$$ = $1;
-		    %*/
 		    }
 		;
 

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

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