diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-18 09:44:41 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-18 09:44:41 +0000 |
commit | 4199256a1a741243861fb0665ae0c6286f0e465c (patch) | |
tree | fa507d1c2ff13f7e64685af4b8128ae5be24c463 /re.c | |
parent | 0343f992f1206f0daef8ab73a95d77566b5ab44f (diff) | |
download | ruby-4199256a1a741243861fb0665ae0c6286f0e465c.tar.gz |
rb_enc_reg_raise marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |