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

ruby-changes:2331

From: ko1@a...
Date: 5 Nov 2007 01:29:19 +0900
Subject: [ruby-changes:2331] matz - Ruby:r13822 (ruby_1_8): * parse.y (call_args): remove "parenthesize argument(s) for future

matz	2007-11-05 01:28:11 +0900 (Mon, 05 Nov 2007)

  New Revision: 13822

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/parse.y
    branches/ruby_1_8/version.h

  Log:
    * parse.y (call_args): remove "parenthesize argument(s) for future
      version" warning.  when I added this warning, I had a plan to
      reimplement the parser that is simpler than the current one.
      since we abandoned the plan, warning no longer required.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=13822&r2=13821
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=13822&r2=13821
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/parse.y?r1=13822&r2=13821

Index: ruby_1_8/parse.y
===================================================================
--- ruby_1_8/parse.y	(revision 13821)
+++ ruby_1_8/parse.y	(revision 13822)
@@ -1245,7 +1245,6 @@
 aref_args	: none
 		| command opt_nl
 		    {
-		        rb_warn("parenthesize argument(s) for future version");
 			$$ = NEW_LIST($1);
 		    }
 		| args trailer
@@ -1278,12 +1277,10 @@
 		    }
 		| '(' block_call opt_nl ')'
 		    {
-		        rb_warn("parenthesize argument for future version");
 			$$ = NEW_LIST($2);
 		    }
 		| '(' args ',' block_call opt_nl ')'
 		    {
-		        rb_warn("parenthesize argument for future version");
 			$$ = list_append($2, $4);
 		    }
 		;
@@ -1294,7 +1291,6 @@
 
 call_args	: command
 		    {
-		        rb_warn("parenthesize argument(s) for future version");
 			$$ = NEW_LIST($1);
 		    }
 		| args opt_block_arg
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 13821)
+++ ruby_1_8/ChangeLog	(revision 13822)
@@ -1,3 +1,10 @@
+Mon Nov  5 01:20:33 2007  Yukihiro Matsumoto  <matz@r...>
+
+	* parse.y (call_args): remove "parenthesize argument(s) for future
+	  version" warning.  when I added this warning, I had a plan to
+	  reimplement the parser that is simpler than the current one.
+	  since we abandoned the plan, warning no longer required.
+
 Fri Nov  2 00:13:51 2007  Yukihiro Matsumoto  <matz@r...>
 
 	* array.c (rb_ary_assoc): check and convert inner arrays (assocs)
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h	(revision 13821)
+++ ruby_1_8/version.h	(revision 13822)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.8.6"
-#define RUBY_RELEASE_DATE "2007-11-02"
+#define RUBY_RELEASE_DATE "2007-11-05"
 #define RUBY_VERSION_CODE 186
-#define RUBY_RELEASE_CODE 20071102
+#define RUBY_RELEASE_CODE 20071105
 #define RUBY_PATCHLEVEL 5000
 
 #define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
 #define RUBY_VERSION_TEENY 6
 #define RUBY_RELEASE_YEAR 2007
 #define RUBY_RELEASE_MONTH 11
-#define RUBY_RELEASE_DAY 2
+#define RUBY_RELEASE_DAY 5
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

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

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