Changeset 64b3cda for src/Parser


Ignore:
Timestamp:
Dec 22, 2022, 4:05:12 PM (17 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
ea2ed3a
Parents:
019b2d3
Message:

Adjusted -Pasterr so it works while using the new ast. Removed the -Ptree option as it doesn't seem to work and no one uses it.

Location:
src/Parser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/RunParser.cpp

    r019b2d3 r64b3cda  
    4545} // parse
    4646
    47 void dumpParseTree( std::ostream & out ) {
    48         parseTree->printList( out );
    49         delete parseTree;
    50         parseTree = nullptr;
    51 }
    52 
    5347ast::TranslationUnit buildUnit(void) {
    5448        std::list<Declaration *> translationUnit;
  • src/Parser/RunParser.hpp

    r019b2d3 r64b3cda  
    3131void parse( FILE * input, LinkageSpec::Spec linkage, bool alwaysExit = false );
    3232
    33 /// Drain the internal accumulator of parsed code and print it to the stream.
    34 void dumpParseTree( std::ostream & );
    35 
    3633/// Drain the internal accumulator of parsed code and build a translation
    3734/// unit from it.
Note: See TracChangeset for help on using the changeset viewer.