From 603e6d5ddbd1e94991c4aa719dbdb300bd099c27 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: http://svn.ruby-lang.org/repos/ruby/trunk@12862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/ruby/intern.h') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 301337094..7d5970762 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