diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-11 07:33:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-11 07:33:08 +0000 |
commit | 58649234258a476f7cd69db41f89405e117d4b32 (patch) | |
tree | 99136677122b7d904432408099b9d008ea8cfb6a /re.c | |
parent | e8fea3f8dda47198a78d8957a07e8b304664e0a1 (diff) |
gets speed up patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -329,7 +329,6 @@ make_regexp(s, len, flag) return rp; } -extern VALUE cData; static VALUE cMatch; static VALUE @@ -1055,6 +1054,7 @@ Init_Regexp() | RE_INTERVALS | RE_NO_BK_BRACES | RE_CONTEXTUAL_INVALID_OPS + | RE_CHAR_CLASSES | RE_BACKSLASH_ESCAPE_IN_LISTS); rb_define_virtual_variable("$~", match_getter, match_setter); @@ -1085,9 +1085,6 @@ Init_Regexp() rb_global_variable(®_cache); rb_global_variable(&matchcache); - /* turn on premitive flag for the class */ - FL_SET(cRegexp, FL_PRIMITIVE); - cMatch = rb_define_class("MatchingData", cData); rb_define_method(cMatch, "to_a", match_to_a, 0); rb_define_method(cMatch, "[]", match_aref, -1); |