/[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 940 by ph10, Tue Feb 28 10:30:51 2012 UTC revision 963 by ph10, Sat Apr 21 18:06:31 2012 UTC
# Line 6469  if (extra_data != NULL Line 6469  if (extra_data != NULL
6469                      PCRE_NOTEMPTY | PCRE_NOTEMPTY_ATSTART |                      PCRE_NOTEMPTY | PCRE_NOTEMPTY_ATSTART |
6470                      PCRE_PARTIAL_SOFT | PCRE_PARTIAL_HARD)) == 0)                      PCRE_PARTIAL_SOFT | PCRE_PARTIAL_HARD)) == 0)
6471    {    {
6472    rc = PRIV(jit_exec)(re, extra_data->executable_jit,    rc = PRIV(jit_exec)(re, extra_data, (const pcre_uchar *)subject, length,
6473      (const pcre_uchar *)subject, length, start_offset, options,         start_offset, options, offsets, offsetcount);
     ((extra_data->flags & PCRE_EXTRA_MATCH_LIMIT) == 0)  
     ? MATCH_LIMIT : extra_data->match_limit, offsets, offsetcount,  
     ((extra_data->flags & PCRE_EXTRA_MARK) != 0) ? extra_data->mark : NULL);  
6474    
6475    /* PCRE_ERROR_NULL means that the selected normal or partial matching    /* PCRE_ERROR_NULL means that the selected normal or partial matching
6476    mode is not compiled. In this case we simply fallback to interpreter. */    mode is not compiled. In this case we simply fallback to interpreter. */
# Line 7073  if (rc == MATCH_MATCH || rc == MATCH_ACC Line 7070  if (rc == MATCH_MATCH || rc == MATCH_ACC
7070      {      {
7071      register int *iptr, *iend;      register int *iptr, *iend;
7072      int resetcount = 2 + re->top_bracket * 2;      int resetcount = 2 + re->top_bracket * 2;
7073      if (resetcount > offsetcount) resetcount = ocount;      if (resetcount > offsetcount) resetcount = offsetcount;
7074      iptr = offsets + md->end_offset_top;      iptr = offsets + md->end_offset_top;
7075      iend = offsets + resetcount;      iend = offsets + resetcount;
7076      while (iptr < iend) *iptr++ = -1;      while (iptr < iend) *iptr++ = -1;

Legend:
Removed from v.940  
changed lines
  Added in v.963

  ViewVC Help
Powered by ViewVC 1.1.5