/[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 1375 by zherczeg, Sat Oct 12 17:56:40 2013 UTC revision 1376 by ph10, Sat Oct 12 18:02:11 2013 UTC
# Line 2709  switch(ptype) Line 2709  switch(ptype)
2709    
2710    case PT_SPACE:    /* Perl space */    case PT_SPACE:    /* Perl space */
2711    case PT_PXSPACE:  /* POSIX space */    case PT_PXSPACE:  /* POSIX space */
2712    return (PRIV(ucp_gentype)[prop->chartype] == ucp_Z ||    switch(c)
2713            c == CHAR_HT || c == CHAR_NL || c == CHAR_VT ||      {
2714            c == CHAR_FF || c == CHAR_CR)      HSPACE_CASES:
2715            == negated;      VSPACE_CASES:
2716        return negated;
2717    
2718        default:
2719        return (PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == negated;
2720        }
2721      break;  /* Control never reaches here */
2722    
2723    case PT_WORD:    case PT_WORD:
2724    return (PRIV(ucp_gentype)[prop->chartype] == ucp_L ||    return (PRIV(ucp_gentype)[prop->chartype] == ucp_L ||

Legend:
Removed from v.1375  
changed lines
  Added in v.1376

  ViewVC Help
Powered by ViewVC 1.1.5