summaryrefslogtreecommitdiff
path: root/thirdparty/pcre2/src/pcre2_convert.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-22 16:34:29 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-22 16:34:29 +0100
commit62c3e4ab9c87689ff0b7d27350bde176981daf1b (patch)
treef4f52faf772e13a3101c5964ce0089c66ff63fc7 /thirdparty/pcre2/src/pcre2_convert.c
parent5fe0d8df220bb9140a29e557e8392039105e31b7 (diff)
pcre2: Update to upstream version 10.42
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog This should also fix support for RISC-V architectures, at least in the sljit library.
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_convert.c')
-rw-r--r--thirdparty/pcre2/src/pcre2_convert.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/thirdparty/pcre2/src/pcre2_convert.c b/thirdparty/pcre2/src/pcre2_convert.c
index d45b6fee97..36466e4b91 100644
--- a/thirdparty/pcre2/src/pcre2_convert.c
+++ b/thirdparty/pcre2/src/pcre2_convert.c
@@ -7,7 +7,7 @@ and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
Original API code Copyright (c) 1997-2012 University of Cambridge
- New API code Copyright (c) 2016-2018 University of Cambridge
+ New API code Copyright (c) 2016-2022 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -65,9 +65,8 @@ POSSIBILITY OF SUCH DAMAGE.
#define STR_QUERY_s STR_LEFT_PARENTHESIS STR_QUESTION_MARK STR_s STR_RIGHT_PARENTHESIS
#define STR_STAR_NUL STR_LEFT_PARENTHESIS STR_ASTERISK STR_N STR_U STR_L STR_RIGHT_PARENTHESIS
-/* States for range and POSIX processing */
+/* States for POSIX processing */
-enum { RANGE_NOT_STARTED, RANGE_STARTING, RANGE_STARTED };
enum { POSIX_START_REGEX, POSIX_ANCHORED, POSIX_NOT_BRACKET,
POSIX_CLASS_NOT_STARTED, POSIX_CLASS_STARTING, POSIX_CLASS_STARTED };