From d9274e7d6bbffd15291ffc6bdd5fefbde79f5cb8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 2 Aug 2007 14:36:25 +0000 Subject: * 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 --- include/ruby/intern.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/ruby') 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); -- cgit v1.2.3