summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:42 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:42 +0000
commitcdff88b8b4ff9a1728d13b176a4487e098503aef (patch)
treef11fa1a83da491c6d94b881740595a7edaf74d69 /re.c
parent86915152460d1cfc7776d622df759593ecd81db5 (diff)
downloadruby-cdff88b8b4ff9a1728d13b176a4487e098503aef.tar.gz
rb_reg_raise_str marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/re.c b/re.c
index 1eaa56e25b..df7a561bf0 100644
--- a/re.c
+++ b/re.c
@@ -686,6 +686,8 @@ rb_reg_error_desc(VALUE str, int options, const char *err)
rb_enc_get(str), options, err);
}
+NORETURN(static void rb_reg_raise_str(VALUE str, int options, const char *err));
+
static void
rb_reg_raise_str(VALUE str, int options, const char *err)
{