mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
46e848a65a
commit
d9274e7d6b
4 changed files with 31 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue