Changeset 12069 in webkit for trunk/JavaScriptCore/pcre
- Timestamp:
- Jan 13, 2006, 1:32:51 AM (19 years ago)
- Location:
- trunk/JavaScriptCore/pcre
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_compile.c
r11962 r12069 4894 4894 ++ptr; 4895 4895 } 4896 4896 4897 4897 { 4898 4898 int i; 4899 4899 for (i = 0; i < _pcre_utf8_table1_size; i++) 4900 4900 if (c <= _pcre_utf8_table1[i]) break; 4901 4901 length += i; 4902 4903 4902 lastitemlength += i; 4903 } 4904 4904 } 4905 4905 #else -
trunk/JavaScriptCore/pcre/pcre_exec.c
r11962 r12069 1809 1809 #if PCRE_UTF16 1810 1810 { 1811 1811 int dc; 1812 1812 ecode += length; 1813 1813 switch (md->end_subject - eptr) … … 1949 1949 #if PCRE_UTF16 1950 1950 1951 1951 length = 1; 1952 1952 GETUTF8CHARLEN(fc, ecode, length); 1953 1953 { 1954 1954 int utf16Length; // don't initialize on this line as workaround for Win32 compile problem 1955 1955 utf16Length = fc > 0xFFFF ? 2 : 1; … … 2055 2055 } 2056 2056 /* Control never gets here */ 2057 2057 } 2058 2058 #else 2059 2059 if (utf8)
Note:
See TracChangeset
for help on using the changeset viewer.