diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-22 16:34:29 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-22 16:34:29 +0100 |
commit | 62c3e4ab9c87689ff0b7d27350bde176981daf1b (patch) | |
tree | f4f52faf772e13a3101c5964ce0089c66ff63fc7 /thirdparty/pcre2/src/pcre2_context.c | |
parent | 5fe0d8df220bb9140a29e557e8392039105e31b7 (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_context.c')
-rw-r--r-- | thirdparty/pcre2/src/pcre2_context.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/thirdparty/pcre2/src/pcre2_context.c b/thirdparty/pcre2/src/pcre2_context.c index f904a494a0..8e05ede50c 100644 --- a/thirdparty/pcre2/src/pcre2_context.c +++ b/thirdparty/pcre2/src/pcre2_context.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 @@ -443,8 +443,11 @@ mcontext->offset_limit = limit; return 0; } -/* This function became obsolete at release 10.30. It is kept as a synonym for -backwards compatibility. */ +/* These functions became obsolete at release 10.30. The first is kept as a +synonym for backwards compatibility. The second now does nothing. Exclude both +from coverage reports. */ + +/* LCOV_EXCL_START */ PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) @@ -464,6 +467,9 @@ pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, return 0; } +/* LCOV_EXCL_STOP */ + + /* ------------ Convert context ------------ */ PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION |