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

Diff of /code/trunk/pcre_xclass.c

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

revision 1413 by ph10, Tue Nov 19 15:36:57 2013 UTC revision 1414 by zherczeg, Sun Dec 22 16:27:35 2013 UTC
# Line 81  additional data. */ Line 81  additional data. */
81    
82  if (c < 256)  if (c < 256)
83    {    {
84      if ((*data & XCL_HASPROP) == 0)
85        {
86        if ((*data & XCL_MAP) == 0) return negated;
87        return (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0;
88        }
89    if ((*data & XCL_MAP) != 0 &&    if ((*data & XCL_MAP) != 0 &&
90      (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0)      (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0)
91      return !negated; /* char found */      return !negated; /* char found */

Legend:
Removed from v.1413  
changed lines
  Added in v.1414

  ViewVC Help
Powered by ViewVC 1.1.5