summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-13 09:02:15 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-13 09:02:15 +0000
commitef846841510da3c1f3dad51890c36dbc9f9d7941 (patch)
tree127cefc7690503f9b59b36b51e23e7a876a84f46 /re.c
parent2a7c4526f262d69440b5395786082e02b2ce1871 (diff)
* parse.y (assignable): should emit CVASGN within the method
body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/re.c b/re.c
index 5658f5db47..42ae86f401 100644
--- a/re.c
+++ b/re.c
@@ -611,7 +611,6 @@ rb_reg_search(re, str, pos, reverse)
else {
range = RSTRING(str)->len - pos;
}
- regs.allocated = 0;
result = re_search(RREGEXP(re)->ptr,RSTRING(str)->ptr,RSTRING(str)->len,
pos, range, &regs);