/[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 637 by ph10, Sun Jul 24 17:44:12 2011 UTC revision 638 by ph10, Mon Jul 25 09:41:19 2011 UTC
# Line 7084  if ((options & PCRE_UCP) != 0) Line 7084  if ((options & PCRE_UCP) != 0)
7084    
7085  /* Check validity of \R options. */  /* Check validity of \R options. */
7086    
7087  switch (options & (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE))  if ((options & (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) ==
7088         (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE))
7089    {    {
7090    case 0:    errorcode = ERR56;
7091    case PCRE_BSR_ANYCRLF:    goto PCRE_EARLY_ERROR_RETURN;
   case PCRE_BSR_UNICODE:  
   break;  
   default: errorcode = ERR56; goto PCRE_EARLY_ERROR_RETURN;  
7092    }    }
7093    
7094  /* Handle different types of newline. The three bits give seven cases. The  /* Handle different types of newline. The three bits give seven cases. The

Legend:
Removed from v.637  
changed lines
  Added in v.638

  ViewVC Help
Powered by ViewVC 1.1.5