diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 08:34:06 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 08:34:06 +0000 |
commit | 506cdbf64a7883b769725c20ced87c38d254f5b0 (patch) | |
tree | d36cf279cb8323de70e61324948b5c794e158c18 | |
parent | dbcc539602450423ccbdabe350bb0636f8d12594 (diff) | |
download | ruby-506cdbf64a7883b769725c20ced87c38d254f5b0.tar.gz |
* re.c (kcode_setter): restore erroneously removed setter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | re.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Thu Oct 4 17:08:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org> +Thu Oct 4 17:33:18 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * re.c (kcode_setter): Perl-ish global variable `$=' no longer effective. @@ -15,6 +15,8 @@ Thu Oct 4 17:08:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * string.c (rb_str_cmp_m): update RDoc document. + * re.c (kcode_setter): restore erroneously removed setter. + Thu Oct 4 16:28:33 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * encoding.c (rb_obj_encoding): returns encoding of the given object. @@ -2311,7 +2311,8 @@ rb_set_kcode(const char *code) static void kcode_setter(VALUE val) { - rb_warning("$= no longer effective"); + may_need_recompile = 1; + rb_set_kcode(StringValuePtr(val)); } static VALUE |