/[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 1084 by chpe, Tue Oct 16 15:55:28 2012 UTC revision 1095 by chpe, Tue Oct 16 15:56:05 2012 UTC
# Line 635  static void Line 635  static void
635  set_type_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit,  set_type_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit,
636    compile_data *cd)    compile_data *cd)
637  {  {
638  register int c;  register pcre_uint32 c;
639  for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type];  for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type];
640  #if defined SUPPORT_UTF && defined COMPILE_PCRE8  #if defined SUPPORT_UTF && defined COMPILE_PCRE8
641  if (table_limit == 32) return;  if (table_limit == 32) return;
# Line 677  static void Line 677  static void
677  set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit,  set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, int table_limit,
678    compile_data *cd)    compile_data *cd)
679  {  {
680  register int c;  register pcre_uint32 c;
681  for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type];  for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type];
682  #if defined SUPPORT_UTF && defined COMPILE_PCRE8  #if defined SUPPORT_UTF && defined COMPILE_PCRE8
683  if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff;  if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff;
# Line 714  static int Line 714  static int
714  set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf,  set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf,
715    compile_data *cd)    compile_data *cd)
716  {  {
717  register int c;  register pcre_uint32 c;
718  int yield = SSB_DONE;  int yield = SSB_DONE;
719  #if defined SUPPORT_UTF && defined COMPILE_PCRE8  #if defined SUPPORT_UTF && defined COMPILE_PCRE8
720  int table_limit = utf? 16:32;  int table_limit = utf? 16:32;

Legend:
Removed from v.1084  
changed lines
  Added in v.1095

  ViewVC Help
Powered by ViewVC 1.1.5