/[pcre]/code/branches/pcre16/pcre_study.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_study.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 824 by zherczeg, Mon Dec 26 14:27:28 2011 UTC revision 825 by zherczeg, Mon Dec 26 21:23:17 2011 UTC
# Line 1004  do Line 1004  do
1004          }          }
1005        else        else
1006  #endif /* SUPPORT_UTF */  #endif /* SUPPORT_UTF */
1007            {
1008          SET_BIT(0xA0);          SET_BIT(0xA0);
1009    #ifdef COMPILE_PCRE16
1010            SET_BIT(0xFF);  /* For characters > 255 */
1011    #endif
1012            }
1013        try_next = FALSE;        try_next = FALSE;
1014        break;        break;
1015    
# Line 1028  do Line 1033  do
1033          }          }
1034        else        else
1035  #endif /* SUPPORT_UTF */  #endif /* SUPPORT_UTF */
1036            {
1037          SET_BIT(0x85);          SET_BIT(0x85);
1038    #ifdef COMPILE_PCRE16
1039            SET_BIT(0xFF);  /* For characters > 255 */
1040    #endif
1041            }
1042        try_next = FALSE;        try_next = FALSE;
1043        break;        break;
1044    
# Line 1471  if (bits_set || min > 0 Line 1481  if (bits_set || min > 0
1481    if ((options & PCRE_STUDY_JIT_COMPILE) != 0) PRIV(jit_compile)(re, extra);    if ((options & PCRE_STUDY_JIT_COMPILE) != 0) PRIV(jit_compile)(re, extra);
1482    if (study->flags == 0 && (extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) == 0)    if (study->flags == 0 && (extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) == 0)
1483      {      {
1484    #ifdef COMPILE_PCRE8
1485      pcre_free_study(extra);      pcre_free_study(extra);
1486    #endif
1487    #ifdef COMPILE_PCRE16
1488        pcre16_free_study(extra);
1489    #endif
1490      extra = NULL;      extra = NULL;
1491      }      }
1492  #endif  #endif

Legend:
Removed from v.824  
changed lines
  Added in v.825

  ViewVC Help
Powered by ViewVC 1.1.5