[Pcre-svn] [442] code/trunk/src/pcre2_jit_compile.c: Hotfix …

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [442] code/trunk/src/pcre2_jit_compile.c: Hotfix for [:punct:] in JIT.
Revision: 442
          http://www.exim.org/viewvc/pcre2?view=rev&revision=442
Author:   zherczeg
Date:     2015-11-18 08:01:33 +0000 (Wed, 18 Nov 2015)
Log Message:
-----------
Hotfix for [:punct:] in JIT.


Modified Paths:
--------------
    code/trunk/src/pcre2_jit_compile.c


Modified: code/trunk/src/pcre2_jit_compile.c
===================================================================
--- code/trunk/src/pcre2_jit_compile.c    2015-11-17 17:59:35 UTC (rev 441)
+++ code/trunk/src/pcre2_jit_compile.c    2015-11-18 08:01:33 UTC (rev 442)
@@ -5995,7 +5995,7 @@
       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);