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

Diff of /code/trunk/pcre_study.c

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

revision 666 by ph10, Mon Aug 22 14:56:43 2011 UTC revision 673 by ph10, Thu Aug 25 16:06:03 2011 UTC
# Line 1293  switch(min = find_minlength(code, code, Line 1293  switch(min = find_minlength(code, code,
1293    default: break;    default: break;
1294    }    }
1295    
1296  /* Return NULL if there's been an error or if no optimization is possible. */  /* Return NULL if there's been an (internal) error or if no optimization is
1297    possible. A FALSE setting for bits_set is common when there are no obvious
1298    starting bytes. However a negative value of min occurs only when the pattern
1299    contains \C, in other words, it's an exceptional case nowadays. */
1300    
1301  if (*errorptr != NULL || (!bits_set && min < 0)) return NULL;  if (*errorptr != NULL || (!bits_set && min < 0)) return NULL;
1302    
# Line 1332  if (min >= 0) Line 1335  if (min >= 0)
1335    study->minlength = min;    study->minlength = min;
1336    }    }
1337    
1338    /* If JIT support was compiled and requested, attempt the JIT compilation. */
1339    
1340  extra->executable_jit = NULL;  extra->executable_jit = NULL;
1341  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
1342  if ((options & PCRE_STUDY_JIT_COMPILE) != 0) _pcre_jit_compile(re, extra);  if ((options & PCRE_STUDY_JIT_COMPILE) != 0) _pcre_jit_compile(re, extra);

Legend:
Removed from v.666  
changed lines
  Added in v.673

  ViewVC Help
Powered by ViewVC 1.1.5