/[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 609 by ph10, Wed Jun 15 18:09:23 2011 UTC revision 610 by ph10, Tue Jun 28 15:58:34 2011 UTC
# Line 966  for (;;) Line 966  for (;;)
966          ecode += GET(ecode, 1);          ecode += GET(ecode, 1);
967          if (*ecode != OP_ALT) break;          if (*ecode != OP_ALT) break;
968          }          }
969    
970        if (!matched_once)        if (!matched_once)
971          {          {
972          md->offset_vector[offset] = save_offset1;          md->offset_vector[offset] = save_offset1;
# Line 1015  for (;;) Line 1015  for (;;)
1015          eptrb, RM48);          eptrb, RM48);
1016        if (rrc == MATCH_KETRPOS)        if (rrc == MATCH_KETRPOS)
1017          {          {
1018            offset_top = md->end_offset_top;
1019          eptr = md->end_match_ptr;          eptr = md->end_match_ptr;
1020          ecode = md->start_code + code_offset;          ecode = md->start_code + code_offset;
1021          matched_once = TRUE;          matched_once = TRUE;
# Line 1026  for (;;) Line 1027  for (;;)
1027        ecode += GET(ecode, 1);        ecode += GET(ecode, 1);
1028        if (*ecode != OP_ALT) break;        if (*ecode != OP_ALT) break;
1029        }        }
1030    
1031      if (matched_once || allow_zero)      if (matched_once || allow_zero)
1032        {        {
1033        ecode += 1 + LINK_SIZE;        ecode += 1 + LINK_SIZE;

Legend:
Removed from v.609  
changed lines
  Added in v.610

  ViewVC Help
Powered by ViewVC 1.1.5