Changeset 14457 in webkit for trunk/JavaScriptCore/pcre
- Timestamp:
- May 17, 2006, 9:15:21 PM (19 years ago)
- Location:
- trunk/JavaScriptCore/pcre
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_compile.c
r12069 r14457 47 47 48 48 49 / / WARNING: These macros evaluate their parameters more than once.49 /* WARNING: These macros evaluate their parameters more than once. */ 50 50 #if PCRE_UTF16 51 51 #define CTYPES(cd, x) ((x) <= 255 ? (cd)->ctypes[(x)] : 0) … … 2929 2929 namelen = ptr - name - 1; 2930 2930 2931 / / FIXME: This won't work for UTF-16.2931 /* FIXME: This won't work for UTF-16. */ 2932 2932 for (i = 0; i < cd->names_found; i++) 2933 2933 { -
trunk/JavaScriptCore/pcre/pcre_exec.c
r12069 r14457 1952 1952 GETUTF8CHARLEN(fc, ecode, length); 1953 1953 { 1954 int utf16Length; / / don't initialize on this line as workaround for Win32 compile problem1954 int utf16Length; /* don't initialize on this line as workaround for Win32 compile problem */ 1955 1955 utf16Length = fc > 0xFFFF ? 2 : 1; 1956 1956 if (min * utf16Length > md->end_subject - eptr) RRETURN(MATCH_NOMATCH); -
trunk/JavaScriptCore/pcre/pcre_get.c
r14256 r14457 66 66 pcre_get_stringnumber(const pcre *code, const pcre_char *stringname) 67 67 { 68 / / FIXME: This doesn't work for UTF-16 because the name table has 8-bit characters in it!68 /* FIXME: This doesn't work for UTF-16 because the name table has 8-bit characters in it! */ 69 69 #if !PCRE_UTF16 70 70 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.