diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-02 14:36:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-02 14:36:25 +0000 |
commit | d9274e7d6bbffd15291ffc6bdd5fefbde79f5cb8 (patch) | |
tree | b611b62f1dccaaaaf76d013e3fab3569c1b0b395 /include | |
parent | 46e848a65a866663161edecc81d1b46aa3e36de3 (diff) | |
download | ruby-d9274e7d6bbffd15291ffc6bdd5fefbde79f5cb8.tar.gz |
* parse.y (reg_compile_gen): set error if failed to compile regexp
literal. [ruby-dev:31336]
* re.c (rb_reg_compile): should not use regexp which could not get
initialized. [ruby-dev:31333]
return error message to let the parser know it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 301337094a..7d5970762e 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -440,7 +440,6 @@ VALUE rb_reg_match_pre(VALUE); VALUE rb_reg_match_post(VALUE); VALUE rb_reg_match_last(VALUE); VALUE rb_reg_new(const char*, long, int); -VALUE rb_reg_compile(const char*, long, int, const char*, int); VALUE rb_reg_match(VALUE, VALUE); VALUE rb_reg_match2(VALUE); int rb_reg_options(VALUE); |