summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-12-10 02:20:06 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-12-10 02:20:06 +0000
commit669e6f0bbc3b07f6df3b0d0cafba3555e39e433c (patch)
tree37c97c3fa732981cf8d2dbed54d27cca37fa8fac /pcreposix.c
parent24054b0ee8c34e475c8ecc21938f7139f1ca6d2c (diff)
downloadpcre-669e6f0bbc3b07f6df3b0d0cafba3555e39e433c.tar.gz
extending the 16 bit API, mode check, and fixes
git-svn-id: svn://vcs.exim.org/pcre/code/branches/pcre16@795 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 2dc1561..0426e2e 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -401,6 +401,7 @@ switch(rc)
case PCRE_ERROR_MATCHLIMIT: return REG_ESPACE;
case PCRE_ERROR_BADUTF8: return REG_INVARG;
case PCRE_ERROR_BADUTF8_OFFSET: return REG_INVARG;
+ case PCRE_ERROR_BADMODE: return REG_INVARG;
default: return REG_ASSERT;
}
}