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

Diff of /code/trunk/pcre_jit_compile.c

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

revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 694 by zherczeg, Fri Sep 16 15:52:05 2011 UTC
# Line 5969  common->lcc = (sljit_w)(tables + lcc_off Line 5969  common->lcc = (sljit_w)(tables + lcc_off
5969  common->nltype = NLTYPE_FIXED;  common->nltype = NLTYPE_FIXED;
5970  switch(re->options & PCRE_NEWLINE_BITS)  switch(re->options & PCRE_NEWLINE_BITS)
5971    {    {
5972    case 0: common->newline = NEWLINE; break;   /* Compile-time default */    case 0:
5973      /* Compile-time default */
5974      switch (NEWLINE)
5975        {
5976        case -1: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANY; break;
5977        case -2: common->newline = (CHAR_CR << 8) | CHAR_NL; common->nltype = NLTYPE_ANYCRLF; break;
5978        default: common->newline = NEWLINE; break;
5979        }
5980      break;
5981    case PCRE_NEWLINE_CR: common->newline = CHAR_CR; break;    case PCRE_NEWLINE_CR: common->newline = CHAR_CR; break;
5982    case PCRE_NEWLINE_LF: common->newline = CHAR_NL; break;    case PCRE_NEWLINE_LF: common->newline = CHAR_NL; break;
5983    case PCRE_NEWLINE_CR+    case PCRE_NEWLINE_CR+

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

  ViewVC Help
Powered by ViewVC 1.1.5