diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-06 18:00:09 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-06 18:00:09 +0000 |
commit | 912f34d2b213b26d217473769a99fade935c989b (patch) | |
tree | 9b452650ac16bfb4e0a41fb33c674347f6a68f20 /pcreposix.c | |
parent | 66ee048b1fbddd62e2079aea5e5a9090f3b5b164 (diff) | |
download | pcre-912f34d2b213b26d217473769a99fade935c989b.tar.gz |
Give errors for [A-\d] and [a-[:digit:]] etc.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1392 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r-- | pcreposix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c index 2f27c01..2f7bf98 100644 --- a/pcreposix.c +++ b/pcreposix.c @@ -168,7 +168,8 @@ static const int eint[] = { /* 80 */ REG_BADPAT, /* non-octal character in \o{} (closing brace missing?) */ REG_BADPAT, /* missing opening brace after \o */ - REG_BADPAT /* parentheses too deeply nested */ + REG_BADPAT, /* parentheses too deeply nested */ + REG_BADPAT /* invalid range in character class */ }; /* Table of texts corresponding to POSIX error codes */ |