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

Diff of /code/trunk/pcre32_valid_utf32.c

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

revision 1118 by chpe, Tue Oct 16 15:57:31 2012 UTC revision 1125 by chpe, Thu Oct 18 18:34:57 2012 UTC
# Line 100  for (p = string; length-- > 0; p++) Line 100  for (p = string; length-- > 0; p++)
100      /* Normal UTF-32 code point. Neither high nor low surrogate. */      /* Normal UTF-32 code point. Neither high nor low surrogate. */
101    
102      /* Check for non-characters */      /* Check for non-characters */
103      if ((c & 0xfffeu) == 0xfffeu ||      if ((c & 0xfffeu) == 0xfffeu || (c >= 0xfdd0u && c <= 0xfdefu))
         c >= 0xfdd0u && c <= 0xfdefu)  
104        {        {
105        *erroroffset = p - string;        *erroroffset = p - string;
106        return PCRE_UTF32_ERR2;        return PCRE_UTF32_ERR2;

Legend:
Removed from v.1118  
changed lines
  Added in v.1125

  ViewVC Help
Powered by ViewVC 1.1.5