diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-27 09:31:53 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-27 09:31:53 +0000 |
commit | a8382af43a39aa1e442861240506559157921288 (patch) | |
tree | 729b6675352f2fb436bbd97e67032bcf851cb04e /regex.c | |
parent | 18477557236646240da157ed7d53da4998d3fc35 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1633,7 +1633,7 @@ re_compile_pattern(pattern, size, bufp) || *laststart == start_paren || (*laststart == exactn && (laststart[1] == 1 - || laststart[1] == 2 && ismbchar(laststart[2]))) + || (laststart[1] == 2 && ismbchar(laststart[2])))) || *laststart == duplicate)) { /* Posix extended syntax is handled in previous @@ -1958,9 +1958,6 @@ re_compile_pattern(pattern, size, bufp) bufp->must = calculate_must_string(bufp->buffer, b); FREE_AND_RETURN(stackb, 0); - invalid_char: - FREE_AND_RETURN(stackb, "invalid character in regular expression"); - invalid_pattern: FREE_AND_RETURN(stackb, "invalid regular expression"); @@ -2502,7 +2499,6 @@ re_search(bufp, string, size, startpos, range, regs) { register char *fastmap = bufp->fastmap; int val, anchor = 0; - int options = bufp->options; /* Check for out-of-range starting position. */ if (startpos < 0 || startpos > size) |