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

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

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

revision 811 by ph10, Sun Dec 18 11:11:48 2011 UTC revision 812 by zherczeg, Mon Dec 19 21:23:42 2011 UTC
# Line 1195  if (c == CHAR_LEFT_CURLY_BRACKET) Line 1195  if (c == CHAR_LEFT_CURLY_BRACKET)
1195      *negptr = TRUE;      *negptr = TRUE;
1196      ptr++;      ptr++;
1197      }      }
1198    for (i = 0; i < (int)sizeof(name) - 1; i++)    for (i = 0; i < (int)(sizeof(name) / sizeof(pcre_uchar)) - 1; i++)
1199      {      {
1200      c = *(++ptr);      c = *(++ptr);
1201      if (c == 0) goto ERROR_RETURN;      if (c == 0) goto ERROR_RETURN;
# Line 4568  for (;; ptr++) Line 4568  for (;; ptr++)
4568    
4569  #ifdef SUPPORT_UTF  #ifdef SUPPORT_UTF
4570      if (xclass && (!should_flip_negation || (options & PCRE_UCP) != 0))      if (xclass && (!should_flip_negation || (options & PCRE_UCP) != 0))
4571  #endif  #elif !defined COMPILE_PCRE8
 #ifndef COMPILE_PCRE8  
4572      if (xclass && !should_flip_negation)      if (xclass && !should_flip_negation)
4573  #endif  #endif
4574  #if defined SUPPORT_UTF || !defined COMPILE_PCRE8  #if defined SUPPORT_UTF || !defined COMPILE_PCRE8

Legend:
Removed from v.811  
changed lines
  Added in v.812

  ViewVC Help
Powered by ViewVC 1.1.5