Ignore:
Timestamp:
Jul 8, 2010, 3:07:50 PM (15 years ago)
Author:
[email protected]
Message:

Tidy up the lexer

Reviewed by Anders Carlson.

Remove some of the old yacc/lex-isms still present in the lexer

  • parser/JSParser.h:

(JSC::):

  • parser/Lexer.cpp:

(JSC::Lexer::parseString):
(JSC::Lexer::lex):

  • parser/Lexer.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/JSParser.h

    r62848 r62849  
    104104    const Identifier* ident;
    105105};
    106 typedef JSTokenData YYSTYPE;
    107106
    108107struct JSTokenInfo {
     
    113112    int last_column;
    114113};
    115 typedef JSTokenInfo YYLTYPE;
     114
    116115struct JSToken {
    117116    int m_type;
Note: See TracChangeset for help on using the changeset viewer.