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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 881 by ph10, Sun Jan 15 18:07:05 2012 UTC revision 894 by ph10, Fri Jan 20 11:58:19 2012 UTC
# Line 2690  for (;;) Line 2690  for (;;)
2690            {            {
2691            for (rc = rc*2 - 2; rc >= 0; rc -= 2)            for (rc = rc*2 - 2; rc >= 0; rc -= 2)
2692              {              {
             const pcre_uchar *p = start_subject + local_offsets[rc];  
             const pcre_uchar *pp = start_subject + local_offsets[rc+1];  
2693              int charcount = local_offsets[rc+1] - local_offsets[rc];              int charcount = local_offsets[rc+1] - local_offsets[rc];
2694  #ifdef SUPPORT_UTF  #ifdef SUPPORT_UTF
2695                const pcre_uchar *p = start_subject + local_offsets[rc];
2696                const pcre_uchar *pp = start_subject + local_offsets[rc+1];
2697              while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--;              while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--;
2698  #endif  #endif
2699              if (charcount > 0)              if (charcount > 0)

Legend:
Removed from v.881  
changed lines
  Added in v.894

  ViewVC Help
Powered by ViewVC 1.1.5