/[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 1259 by chpe, Tue Oct 16 15:53:45 2012 UTC revision 1260 by ph10, Wed Feb 27 15:41:22 2013 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2012 University of Cambridge             Copyright (c) 1997-2013 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 179  while ((t = *data++) != XCL_END) Line 179  while ((t = *data++) != XCL_END)
179               == (t == XCL_PROP))               == (t == XCL_PROP))
180          return !negated;          return !negated;
181        break;        break;
182    
183          case PT_UCNC:
184          if (c < 0xa0)
185            {
186            if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT ||
187                 c == CHAR_GRAVE_ACCENT) == (t == XCL_PROP))
188              return !negated;
189            }
190          else
191            {
192            if ((c < 0xd800 || c > 0xdfff) == (t == XCL_PROP))
193              return !negated;
194            }
195          break;
196    
197        /* This should never occur, but compilers may mutter if there is no        /* This should never occur, but compilers may mutter if there is no
198        default. */        default. */

Legend:
Removed from v.1259  
changed lines
  Added in v.1260

  ViewVC Help
Powered by ViewVC 1.1.5