[Pcre-svn] [1607] code/trunk/pcre_jit_compile.c: Hotfix for …

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [1607] code/trunk/pcre_jit_compile.c: Hotfix for [:punct:] in JIT.
Revision: 1607
          http://vcs.pcre.org/viewvc?view=rev&revision=1607
Author:   zherczeg
Date:     2015-11-18 07:54:08 +0000 (Wed, 18 Nov 2015)
Log Message:
-----------
Hotfix for [:punct:] in JIT.


Modified Paths:
--------------
    code/trunk/pcre_jit_compile.c


Modified: code/trunk/pcre_jit_compile.c
===================================================================
--- code/trunk/pcre_jit_compile.c    2015-11-17 18:00:03 UTC (rev 1606)
+++ code/trunk/pcre_jit_compile.c    2015-11-18 07:54:08 UTC (rev 1607)
@@ -5256,7 +5256,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);