/[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 836 by ph10, Wed Dec 28 17:16:11 2011 UTC revision 1057 by chpe, Tue Oct 16 15:53:45 2012 UTC
# Line 64  Returns:      TRUE if character matches, Line 64  Returns:      TRUE if character matches,
64  */  */
65    
66  BOOL  BOOL
67  PRIV(xclass)(int c, const pcre_uchar *data, BOOL utf)  PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf)
68  {  {
69  int t;  pcre_uchar t;
70  BOOL negated = (*data & XCL_NOT) != 0;  BOOL negated = (*data & XCL_NOT) != 0;
71    
72  (void)utf;  (void)utf;
# Line 94  if ((*data++ & XCL_MAP) != 0) data += 32 Line 94  if ((*data++ & XCL_MAP) != 0) data += 32
94    
95  while ((t = *data++) != XCL_END)  while ((t = *data++) != XCL_END)
96    {    {
97    int x, y;    pcre_uint32 x, y;
98    if (t == XCL_SINGLE)    if (t == XCL_SINGLE)
99      {      {
100  #ifdef SUPPORT_UTF  #ifdef SUPPORT_UTF

Legend:
Removed from v.836  
changed lines
  Added in v.1057

  ViewVC Help
Powered by ViewVC 1.1.5