summaryrefslogtreecommitdiff
path: root/src/pcre2_error.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-07-21 14:34:51 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-07-21 14:34:51 +0000
commit1ad8a5e6add80b53753a4b78589ff41fc58dad18 (patch)
tree0f98c3150bddb2e2e6e617bfacd337369cd23061 /src/pcre2_error.c
parent8d3008803ffa16d46260e7e1ad087f62e1ca0a28 (diff)
downloadpcre2-1ad8a5e6add80b53753a4b78589ff41fc58dad18.tar.gz
Allow :NAME on (*ACCEPT), (*FAIL), and (*COMMIT) and fix bug with (*MARK)
followed by (*ACCEPT) in an assertion. More small updates to perltest.sh. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@968 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_error.c')
-rw-r--r--src/pcre2_error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcre2_error.c b/src/pcre2_error.c
index bfb6a78..bfc62af 100644
--- a/src/pcre2_error.c
+++ b/src/pcre2_error.c
@@ -133,7 +133,8 @@ static const unsigned char compile_error_texts[] =
"internal error: unknown newline setting\0"
"\\g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number\0"
"(?R (recursive pattern call) must be followed by a closing parenthesis\0"
- "an argument is not allowed for (*ACCEPT), (*FAIL), or (*COMMIT)\0"
+ /* "an argument is not allowed for (*ACCEPT), (*FAIL), or (*COMMIT)\0" */
+ "obsolete error (should not occur)\0" /* Was the above */
/* 60 */
"(*VERB) not recognized or malformed\0"
"group number is too big\0"