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

Diff of /code/trunk/pcre_exec.c

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

revision 1502 by ph10, Mon Sep 15 13:56:18 2014 UTC revision 1510 by ph10, Wed Nov 5 15:08:03 2014 UTC
# Line 1474  for (;;) Line 1474  for (;;)
1474        md->offset_vector[offset] =        md->offset_vector[offset] =
1475          md->offset_vector[md->offset_end - number];          md->offset_vector[md->offset_end - number];
1476        md->offset_vector[offset+1] = (int)(eptr - md->start_subject);        md->offset_vector[offset+1] = (int)(eptr - md->start_subject);
1477        if (offset_top <= offset) offset_top = offset + 2;  
1478          /* If this group is at or above the current highwater mark, ensure that
1479          any groups between the current high water mark and this group are marked
1480          unset and then update the high water mark. */
1481    
1482          if (offset >= offset_top)
1483            {
1484            register int *iptr = md->offset_vector + offset_top;
1485            register int *iend = md->offset_vector + offset;
1486            while (iptr < iend) *iptr++ = -1;
1487            offset_top = offset + 2;
1488            }
1489        }        }
1490      ecode += 1 + IMM2_SIZE;      ecode += 1 + IMM2_SIZE;
1491      break;      break;

Legend:
Removed from v.1502  
changed lines
  Added in v.1510

  ViewVC Help
Powered by ViewVC 1.1.5