diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-04-29 15:21:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-04-29 15:21:04 +0200 |
commit | db6f38bc1b73930f1da954525464cf1986f43a28 (patch) | |
tree | a7f25f79866ee08431779445dc925373eafda070 /src/regerror.c | |
parent | 98f7065a3f7b386564840bb5b24b94f9335b2e97 (diff) |
New upstream version 6.9.8upstream/6.9.8
Diffstat (limited to 'src/regerror.c')
-rw-r--r-- | src/regerror.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/regerror.c b/src/regerror.c index 18a5bdd..6d9abe2 100644 --- a/src/regerror.c +++ b/src/regerror.c @@ -2,7 +2,7 @@ regerror.c - Oniguruma (regular expression library) **********************************************************************/ /*- - * Copyright (c) 2002-2021 K.Kosako + * Copyright (c) 2002-2022 K.Kosako * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -68,8 +68,8 @@ onig_error_code_to_format(int code) p = "undefined bytecode (bug)"; break; case ONIGERR_UNEXPECTED_BYTECODE: p = "unexpected bytecode (bug)"; break; - case ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED: - p = "default multibyte-encoding is not setted"; break; + case ONIGERR_DEFAULT_ENCODING_IS_NOT_SET: + p = "default multibyte-encoding is not set"; break; case ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR: p = "can't convert to wide-char on specified multibyte-encoding"; break; case ONIGERR_FAIL_TO_INITIALIZE: @@ -114,6 +114,8 @@ onig_error_code_to_format(int code) p = "end pattern in group"; break; case ONIGERR_UNDEFINED_GROUP_OPTION: p = "undefined group option"; break; + case ONIGERR_INVALID_GROUP_OPTION: + p = "invalid group option"; break; case ONIGERR_INVALID_POSIX_BRACKET_TYPE: p = "invalid POSIX bracket type"; break; case ONIGERR_INVALID_LOOK_BEHIND_PATTERN: |