summaryrefslogtreecommitdiffstats
path: root/include/ruby/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-02 14:36:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-02 14:36:25 +0000
commit603e6d5ddbd1e94991c4aa719dbdb300bd099c27 (patch)
treeb611b62f1dccaaaaf76d013e3fab3569c1b0b395 /include/ruby/intern.h
parent84bd60efae21f65e4b5aab27563f8e0645d0f540 (diff)
downloadruby-603e6d5ddbd1e94991c4aa719dbdb300bd099c27.tar.gz
ruby-603e6d5ddbd1e94991c4aa719dbdb300bd099c27.tar.xz
ruby-603e6d5ddbd1e94991c4aa719dbdb300bd099c27.zip
* 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
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r--include/ruby/intern.h1
1 files changed, 0 insertions, 1 deletions
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);