summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-05-27 18:24:42 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-05-27 18:24:42 +0000
commit7535acc4e3072709aacf5179e8e8e14200da4a17 (patch)
treedefba92119266e297d36c9eebb62b09611d97d36 /pcreposix.c
parentb653a4d00e6628810fe80cf6b895c78ea7ac0da0 (diff)
downloadpcre-7535acc4e3072709aacf5179e8e8e14200da4a17.tar.gz
Give error for \x{} and \o{}.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1481 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 ed50619..80281ea 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -172,7 +172,8 @@ static const int eint[] = {
REG_BADPAT, /* invalid range in character class */
REG_BADPAT, /* group name must start with a non-digit */
/* 85 */
- REG_BADPAT /* parentheses too deeply nested (stack check) */
+ REG_BADPAT, /* parentheses too deeply nested (stack check) */
+ REG_BADPAT /* missing digits in \x{} or \o{} */
};
/* Table of texts corresponding to POSIX error codes */