Changeset 10059 in webkit for trunk/JavaScriptCore/pcre/pcre.c


Ignore:
Timestamp:
Aug 5, 2005, 1:44:40 PM (20 years ago)
Author:
ggaren
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre.c

    r9452 r10059  
    11851185        goto FAILED;
    11861186        }
    1187 
     1187#if PCRE_UTF16
     1188      if (c > 255)
     1189        {
     1190        *errorptr = ERR33;
     1191        goto FAILED;
     1192        }
     1193#endif
     1194         
    11881195      /* Handle POSIX class names. Perl allows a negation extension of the
    11891196      form [:^name]. A square bracket that doesn't match the syntax is
     
    13211328          goto FAILED;
    13221329          }
    1323 
     1330#if PCRE_UTF16
     1331        if (d > 255)
     1332          {
     1333          *errorptr = ERR33;
     1334          goto FAILED;
     1335          }
     1336#endif
     1337       
    13241338        /* The second part of a range can be a single-character escape, but
    13251339        not any of the other escapes. Perl 5.6 treats a hyphen as a literal
Note: See TracChangeset for help on using the changeset viewer.