/[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 677 by ph10, Sun Aug 28 10:50:07 2011 UTC revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC
# Line 1556  for (;;) Line 1556  for (;;)
1556            md, eptrb, RM6);            md, eptrb, RM6);
1557          memcpy(md->offset_vector, new_recursive.offset_save,          memcpy(md->offset_vector, new_recursive.offset_save,
1558              new_recursive.saved_max * sizeof(int));              new_recursive.saved_max * sizeof(int));
1559            md->recursive = new_recursive.prevrec;
1560          if (rrc == MATCH_MATCH || rrc == MATCH_ACCEPT)          if (rrc == MATCH_MATCH || rrc == MATCH_ACCEPT)
1561            {            {
1562            DPRINTF(("Recursion matched\n"));            DPRINTF(("Recursion matched\n"));
           md->recursive = new_recursive.prevrec;  
1563            if (new_recursive.offset_save != stacksave)            if (new_recursive.offset_save != stacksave)
1564              (pcre_free)(new_recursive.offset_save);              (pcre_free)(new_recursive.offset_save);
1565    
# Line 6403  if (rc == MATCH_MATCH || rc == MATCH_ACC Line 6403  if (rc == MATCH_MATCH || rc == MATCH_ACC
6403    
6404    /* Set the return code to the number of captured strings, or 0 if there were    /* Set the return code to the number of captured strings, or 0 if there were
6405    too many to fit into the vector. */    too many to fit into the vector. */
6406    
6407    rc = (md->offset_overflow && md->end_offset_top >= arg_offset_max)?    rc = (md->offset_overflow && md->end_offset_top >= arg_offset_max)?
6408      0 : md->end_offset_top/2;      0 : md->end_offset_top/2;
6409    

Legend:
Removed from v.677  
changed lines
  Added in v.691

  ViewVC Help
Powered by ViewVC 1.1.5