summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:41 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:41 +0000
commit86915152460d1cfc7776d622df759593ecd81db5 (patch)
treefa507d1c2ff13f7e64685af4b8128ae5be24c463
parent8bc3615950fb6dc79685e1384131c96a0fe0f0c7 (diff)
rb_enc_reg_raise marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--re.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/re.c b/re.c
index 408b5e5295..1eaa56e25b 100644
--- a/re.c
+++ b/re.c
@@ -671,6 +671,8 @@ rb_enc_reg_error_desc(const char *s, long len, rb_encoding *enc, int options, co
return rb_exc_new3(rb_eRegexpError, desc);
}
+NORETURN(static void rb_enc_reg_raise(const char *s, long len, rb_encoding *enc, int options, const char *err));
+
static void
rb_enc_reg_raise(const char *s, long len, rb_encoding *enc, int options, const char *err)
{