/[pcre]/code/trunk/pcre_study.c
ViewVC logotype

Diff of /code/trunk/pcre_study.c

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

revision 110 by ph10, Wed Mar 7 11:02:28 2007 UTC revision 111 by ph10, Thu Mar 8 16:53:09 2007 UTC
# Line 394  do Line 394  do
394        character with a value > 255. */        character with a value > 255. */
395    
396        case OP_NCLASS:        case OP_NCLASS:
397  #ifdef SUPPORT_UTF8  #ifdef SUPPORT_UTF8
398        if (utf8)        if (utf8)
399          {          {
400          start_bits[24] |= 0xf0;              /* Bits for 0xc4 - 0xc8 */          start_bits[24] |= 0xf0;              /* Bits for 0xc4 - 0xc8 */
401          memset(start_bits+25, 0xff, 7);      /* Bits for 0xc9 - 0xff */          memset(start_bits+25, 0xff, 7);      /* Bits for 0xc9 - 0xff */
402          }          }
403  #endif  #endif
404        /* Fall through */        /* Fall through */
405    
406        case OP_CLASS:        case OP_CLASS:
# Line 431  do Line 431  do
431          /* In non-UTF-8 mode, the two bit maps are completely compatible. */          /* In non-UTF-8 mode, the two bit maps are completely compatible. */
432    
433          else          else
434  #endif  #endif
435            {            {
436            for (c = 0; c < 32; c++) start_bits[c] |= tcode[c];            for (c = 0; c < 32; c++) start_bits[c] |= tcode[c];
437            }            }

Legend:
Removed from v.110  
changed lines
  Added in v.111

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12