Changeset 7507 in webkit for trunk/JavaScriptCore/kjs/lexer.h


Ignore:
Timestamp:
Sep 9, 2004, 6:52:24 PM (21 years ago)
Author:
mjs
Message:

Reviewed by Richard.

<rdar://problem/3493140> REGRESSION (85-100): cedille displays %-escaped in JavaScript message at hotmail.com

  • kjs/function.cpp: (KJS::GlobalFuncImp::call): Replace our escape() and unescape() implementations with ones from KDE KJS, which have the proper latin-1 behavior to match Win IE.
  • kjs/lexer.cpp: (Lexer::isHexDigit): Made static and non-const.
  • kjs/lexer.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/lexer.h

    r7239 r7507  
    101101    bool isWhiteSpace() const;
    102102    bool isLineTerminator();
    103     bool isHexDigit(unsigned short c) const;
    104103    bool isOctalDigit(unsigned short c) const;
    105104
     
    116115    static bool isIdentLetter(unsigned short c);
    117116    static bool isDecimalDigit(unsigned short c);
     117    static bool isHexDigit(unsigned short c);
    118118
    119119#ifdef KJS_DEBUG_MEM
Note: See TracChangeset for help on using the changeset viewer.