From 029e9449ce7fa4710eac7a66e605afb3dc8a99ce Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 30 Jul 2003 07:08:56 +0000 Subject: * ruby.c (proc_options): -F set compiled regular expression to $;. [ruby-talk:77381] * string.c (Init_String): no setter type check for $; git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 9d3da92069..ae157f474e 100644 --- a/string.c +++ b/string.c @@ -3402,6 +3402,6 @@ Init_String() id_to_s = rb_intern("to_s"); rb_fs = Qnil; - rb_define_hooked_variable("$;", &rb_fs, 0, rb_str_setter); - rb_define_hooked_variable("$-F", &rb_fs, 0, rb_str_setter); + rb_define_variable("$;", &rb_fs); + rb_define_variable("$-F", &rb_fs); } -- cgit v1.2.3