summaryrefslogtreecommitdiff
path: root/src/regposix.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:07 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:07 +0200
commitb221fe9845ea6d4639db16221f6fa8ab2ad11d8e (patch)
treec42c12a03537b21e5ec847c489529a0733ba8f6b /src/regposix.c
parente179aaa7fd01fa35bb86aab50ff6132bf94533c5 (diff)
parentdb6f38bc1b73930f1da954525464cf1986f43a28 (diff)
Update upstream source from tag 'upstream/6.9.8'
Update to upstream version '6.9.8' with Debian dir 35ad482ae0e78767310ef0fc5220bcf59d57ab22
Diffstat (limited to 'src/regposix.c')
-rw-r--r--src/regposix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regposix.c b/src/regposix.c
index 494446f..73f4ab5 100644
--- a/src/regposix.c
+++ b/src/regposix.c
@@ -2,7 +2,7 @@
regposix.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
@@ -82,7 +82,7 @@ onig2posix_error_code(int code)
{ ONIGERR_STACK_BUG, REG_EONIG_INTERNAL },
{ ONIGERR_UNDEFINED_BYTECODE, REG_EONIG_INTERNAL },
{ ONIGERR_UNEXPECTED_BYTECODE, REG_EONIG_INTERNAL },
- { ONIGERR_DEFAULT_ENCODING_IS_NOT_SETTED, REG_EONIG_BADARG },
+ { ONIGERR_DEFAULT_ENCODING_IS_NOT_SET, REG_EONIG_BADARG },
{ ONIGERR_SPECIFIED_ENCODING_CANT_CONVERT_TO_WIDE_CHAR, REG_EONIG_BADARG },
{ ONIGERR_FAIL_TO_INITIALIZE, REG_EONIG_INTERNAL },
{ ONIGERR_INVALID_ARGUMENT, REG_EONIG_BADARG },
@@ -105,6 +105,7 @@ onig2posix_error_code(int code)
{ ONIGERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS, REG_EPAREN },
{ ONIGERR_END_PATTERN_IN_GROUP, REG_BADPAT },
{ ONIGERR_UNDEFINED_GROUP_OPTION, REG_BADPAT },
+ { ONIGERR_INVALID_GROUP_OPTION, REG_BADPAT },
{ ONIGERR_INVALID_POSIX_BRACKET_TYPE, REG_BADPAT },
{ ONIGERR_INVALID_LOOK_BEHIND_PATTERN, REG_BADPAT },
{ ONIGERR_INVALID_REPEAT_RANGE_PATTERN, REG_BADPAT },