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

Diff of /code/trunk/pcre_compile.c

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

revision 1501 by ph10, Fri Aug 8 15:22:51 2014 UTC revision 1502 by ph10, Mon Sep 15 13:56:18 2014 UTC
# Line 2397  for (code = first_significant_code(code Line 2397  for (code = first_significant_code(code
2397      do endgroup += GET(endgroup, 1); while (*endgroup == OP_ALT);      do endgroup += GET(endgroup, 1); while (*endgroup == OP_ALT);
2398      if (code >= scode && code <= endgroup) continue;  /* Simple recursion */      if (code >= scode && code <= endgroup) continue;  /* Simple recursion */
2399      else      else
2400        {        {
2401        recurse_check *r = recurses;        recurse_check *r = recurses;
2402        for (r = recurses; r != NULL; r = r->prev)        for (r = recurses; r != NULL; r = r->prev)
2403          if (r->group == scode) break;          if (r->group == scode) break;
2404        if (r != NULL) continue;   /* Mutual recursion */        if (r != NULL) continue;   /* Mutual recursion */
2405        }        }
2406    
2407      /* Completed reference; scan the referenced group, remembering it on the      /* Completed reference; scan the referenced group, remembering it on the
2408      stack chain to detect mutual recursions. */      stack chain to detect mutual recursions. */

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

  ViewVC Help
Powered by ViewVC 1.1.5