Ignore:
Timestamp:
Jun 25, 2010, 12:17:24 PM (15 years ago)
Author:
[email protected]
Message:

2010-06-25 Oliver Hunt <[email protected]>

Reviewed by Geoffrey Garen.

Remove old js parser
https://bugs.webkit.org/show_bug.cgi?id=41222

Remove the old yacc parser, this also solves the tiger problem. Which
was a conflict between yacc generated token values and those in the
custom parser

  • Android.mk:
  • CMakeLists.txt:
  • DerivedSources.make:
  • DerivedSources.pro:
  • GNUmakefile.am:
  • JavaScriptCore.pro:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • parser/Grammar.y: Removed.
  • parser/JSParser.cpp:
  • parser/JSParser.h:
  • parser/Lexer.cpp:
  • parser/NodeConstructors.h: (JSC::Node::Node):
  • parser/Parser.cpp: (JSC::Parser::parse):
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/Parser.cpp

    r61732 r61878  
    5353    Lexer& lexer = *globalData->lexer;
    5454    lexer.setCode(*m_source, m_arena);
    55    
    56 #if ENABLE(RECURSIVE_PARSE)
     55
    5756    int parseError = jsParse(globalData);
    58 #else
    59     int parseError = jscyyparse(globalData);
    60 #endif
    6157    int lineNumber = lexer.lineNumber();
    6258    bool lexError = lexer.sawError();
Note: See TracChangeset for help on using the changeset viewer.