summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2015-11-18 08:01:33 +0000
committerzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2015-11-18 08:01:33 +0000
commit6774b80a04fd9a65c14ac6116cbe0f41a5f780a2 (patch)
tree584cb4199611c660904089bade3bb5d345f6f7cf
parent5cc5990d85b8bc45687f9902464245cd2a584b08 (diff)
downloadpcre2-6774b80a04fd9a65c14ac6116cbe0f41a5f780a2.tar.gz
Hotfix for [:punct:] in JIT.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@442 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r--src/pcre2_jit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcre2_jit_compile.c b/src/pcre2_jit_compile.c
index 2ca5a26..bf12204 100644
--- a/src/pcre2_jit_compile.c
+++ b/src/pcre2_jit_compile.c
@@ -5995,7 +5995,7 @@ while (*cc != XCL_END)
OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_LESS_EQUAL);
SET_CHAR_OFFSET(0);
- OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0xff);
+ OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x7f);
OP_FLAGS(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_LESS_EQUAL);
SET_TYPE_OFFSET(ucp_Pc);