summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-12-13 10:08:32 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-12-13 10:08:32 +0000
commit04e5d49a66f466c4f1fb47170231fa7bc74111f4 (patch)
tree6ffa1b959046e158f28747888eca6697c852f78c
parentd6d90f76799f04fd02200858f0a81b26333f7f2f (diff)
downloadpcre-04e5d49a66f466c4f1fb47170231fa7bc74111f4.tar.gz
Add PCRE_NO_UTF16_CHECK
git-svn-id: svn://vcs.exim.org/pcre/code/branches/pcre16@803 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--pcre.h.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/pcre.h.in b/pcre.h.in
index 0cf9438..bc16e9d 100644
--- a/pcre.h.in
+++ b/pcre.h.in
@@ -117,10 +117,12 @@ compiling). */
#define PCRE_UNGREEDY 0x00000200 /* Compile */
#define PCRE_NOTEMPTY 0x00000400 /* Exec, DFA exec */
/* The next two are also used in exec and DFA exec */
-#define PCRE_UTF8 0x00000800 /* Compile (Same as PCRE_UTF16) */
-#define PCRE_UTF16 0x00000800 /* Compile (Same as PCRE_UTF8) */
+#define PCRE_UTF8 0x00000800 /* Compile (same as PCRE_UTF16) */
+#define PCRE_UTF16 0x00000800 /* Compile (same as PCRE_UTF8) */
#define PCRE_NO_AUTO_CAPTURE 0x00001000 /* Compile */
-#define PCRE_NO_UTF8_CHECK 0x00002000 /* Compile, exec, DFA exec */
+/* The next two are also used in exec and DFA exec */
+#define PCRE_NO_UTF8_CHECK 0x00002000 /* Compile (same as PCRE_NO_UTF16_CHECK) */
+#define PCRE_NO_UTF16_CHECK 0x00002000 /* Compile (same as PCRE_NO_UTF8_CHECK) */
#define PCRE_AUTO_CALLOUT 0x00004000 /* Compile */
#define PCRE_PARTIAL_SOFT 0x00008000 /* Exec, DFA exec */
#define PCRE_PARTIAL 0x00008000 /* Backwards compatible synonym */