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

Diff of /code/trunk/pcretest.c

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

revision 1514 by ph10, Tue Feb 3 14:34:44 2015 UTC revision 1515 by ph10, Tue Feb 3 17:08:54 2015 UTC
# Line 5603  while (!done) Line 5603  while (!done)
5603        /* If not /g or /G we are done */        /* If not /g or /G we are done */
5604    
5605        if (!do_g && !do_G) break;        if (!do_g && !do_G) break;
5606    
5607          if (use_offsets == NULL)
5608            {
5609            fprintf(outfile, "Cannot do global matching without an ovector\n");
5610            break;
5611            }
5612    
5613        /* If we have matched an empty string, first check to see if we are at        /* If we have matched an empty string, first check to see if we are at
5614        the end of the subject. If so, the /g loop is over. Otherwise, mimic what        the end of the subject. If so, the /g loop is over. Otherwise, mimic what

Legend:
Removed from v.1514  
changed lines
  Added in v.1515

  ViewVC Help
Powered by ViewVC 1.1.5