diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-02 10:03:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-02 10:03:54 +0000 |
commit | b6fe3dae4de7002c2f58bc9cfb993033dff7927d (patch) | |
tree | b017b82c48b45ae98f3ed92acb3863372ed9d77f /re.c | |
parent | a1d8147e4419d81cd93c664b85f7062c89101c87 (diff) |
call initialize
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -659,6 +659,7 @@ reg_new_1(klass, s, len, flag) memcpy(re->str, s, len); re->str[len] = '\0'; re->len = len; + obj_call_init((VALUE)re); return (VALUE)re; } @@ -795,7 +796,7 @@ reg_s_new(argc, argv, self) Check_Type(src, T_STRING); } - return Qnil; + return Qnil; /* not reached */ } static VALUE |