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

ruby-changes:2127

From: ko1@a...
Date: 4 Oct 2007 16:55:19 +0900
Subject: [ruby-changes:2127] matz - Ruby:r13618 (trunk): * re.c (Init_Regexp): remove obsolete const alias: MatchingData.

matz	2007-10-04 16:54:53 +0900 (Thu, 04 Oct 2007)

  New Revision: 13618

  Modified files:
    trunk/ChangeLog
    trunk/re.c

  Log:
    * re.c (Init_Regexp): remove obsolete const alias: MatchingData.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13618&r2=13617
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=13618&r2=13617

Index: re.c
===================================================================
--- re.c	(revision 13617)
+++ re.c	(revision 13618)
@@ -2442,7 +2442,6 @@
     rb_global_variable(&reg_cache);
 
     rb_cMatch  = rb_define_class("MatchData", rb_cObject);
-    rb_define_global_const("MatchingData", rb_cMatch);
     rb_define_alloc_func(rb_cMatch, match_alloc);
     rb_undef_method(CLASS_OF(rb_cMatch), "new");
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13617)
+++ ChangeLog	(revision 13618)
@@ -1,10 +1,12 @@
-Thu Oct  4 16:52:20 2007  Yukihiro Matsumoto  <matz@r...>
+Thu Oct  4 16:54:00 2007  Yukihiro Matsumoto  <matz@r...>
 
 	* re.c (kcode_setter): Perl-ish global variable `$=' no longer
 	  effective.
 
 	* io.c (Init_IO): remove obsolete variables: $defout, $deferr.
 
+	* re.c (Init_Regexp): remove obsolete const alias: MatchingData.
+
 Thu Oct  4 16:28:33 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* encoding.c (rb_obj_encoding): returns encoding of the given object.

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

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