summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-11-15 10:28:09 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-11-15 10:28:09 +0000
commit0262eef3593e8a8a9d0c918a5f4a72ed67742d5f (patch)
tree296b059faec17ebb558e3696f65d3d490268b21d /pcreposix.c
parent71b0b00cc74b921fd44c9396ff16d60f85dc7301 (diff)
downloadpcre-0262eef3593e8a8a9d0c918a5f4a72ed67742d5f.tar.gz
Fix (?&) non-diagnosis bug and missing length check for (?&a) etc.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@268 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 0f73774..545fbf9 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -124,7 +124,8 @@ static const int eint[] = {
REG_INVARG, /* inconsistent NEWLINE options */
REG_BADPAT, /* \g is not followed followed by an (optionally braced) non-zero number */
REG_BADPAT, /* (?+ or (?- must be followed by a non-zero number */
- REG_BADPAT /* number is too big */
+ REG_BADPAT, /* number is too big */
+ REG_BADPAT /* subpattern name expected after (?& */
};
/* Table of texts corresponding to POSIX error codes */