summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-11-18 07:54:08 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-11-18 07:54:08 +0000
commit0358b7127db0d2ad71cfc27be34cb5fdd5e9a76a (patch)
tree2579fd9d90b065179d1f556feb2a1159a263a35a
parent6f24087610e16343060c8aee11d151d0aeba850b (diff)
downloadpcre-0358b7127db0d2ad71cfc27be34cb5fdd5e9a76a.tar.gz
Hotfix for [:punct:] in JIT.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1607 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--pcre_jit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
index f85912d..445de0c 100644
--- a/pcre_jit_compile.c
+++ b/pcre_jit_compile.c
@@ -5256,7 +5256,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);