From 9a2a45cd69fe4ebf923c8d33c264ba1558cf6ae8 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Oct 2007 07:54:53 +0000 Subject: * re.c (Init_Regexp): remove obsolete const alias: MatchingData. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- re.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfe4870787..e515da43aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,12 @@ -Thu Oct 4 16:52:20 2007 Yukihiro Matsumoto +Thu Oct 4 16:54:00 2007 Yukihiro Matsumoto * 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 * encoding.c (rb_obj_encoding): returns encoding of the given object. diff --git a/re.c b/re.c index d6983295b3..00d2839727 100644 --- a/re.c +++ b/re.c @@ -2442,7 +2442,6 @@ Init_Regexp(void) rb_global_variable(®_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"); -- cgit v1.2.3