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

Diff of /code/trunk/pcre_dfa_exec.c

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

revision 455 by ph10, Sat Sep 26 19:12:32 2009 UTC revision 459 by ph10, Sun Oct 4 09:21:39 2009 UTC
# Line 2287  for (;;) Line 2287  for (;;)
2287    
2288          /* Back reference conditions are not supported */          /* Back reference conditions are not supported */
2289    
2290          if (condcode == OP_CREF) return PCRE_ERROR_DFA_UCOND;          if (condcode == OP_CREF || condcode == OP_NCREF)
2291              return PCRE_ERROR_DFA_UCOND;
2292    
2293          /* The DEFINE condition is always false */          /* The DEFINE condition is always false */
2294    
# Line 2298  for (;;) Line 2299  for (;;)
2299          which means "test if in any recursion". We can't test for specifically          which means "test if in any recursion". We can't test for specifically
2300          recursed groups. */          recursed groups. */
2301    
2302          else if (condcode == OP_RREF)          else if (condcode == OP_RREF || condcode == OP_NRREF)
2303            {            {
2304            int value = GET2(code, LINK_SIZE+2);            int value = GET2(code, LINK_SIZE+2);
2305            if (value != RREF_ANY) return PCRE_ERROR_DFA_UCOND;            if (value != RREF_ANY) return PCRE_ERROR_DFA_UCOND;

Legend:
Removed from v.455  
changed lines
  Added in v.459

  ViewVC Help
Powered by ViewVC 1.1.5