Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    re499381 raa88cb9a  
    99// Author           : Peter Buhr and Rob Schluntz
    1010// Created On       : Fri May 15 23:12:02 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Fri Feb 19 14:59:00 2021
    13 // Update Count     : 643
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Mon Feb  8 21:10:16 2021
     13// Update Count     : 642
    1414//
    1515
     
    104104static void parse( FILE * input, LinkageSpec::Spec linkage, bool shouldExit = false );
    105105static void dump( list< Declaration * > & translationUnit, ostream & out = cout );
    106 static void dump( ast::TranslationUnit && transUnit, ostream & out = cout );
    107106
    108107static void backtrace( int start ) {                                    // skip first N stack frames
     
    350349                        PASS( "Resolve", ResolvExpr::resolve( transUnit ) );
    351350                        if ( exprp ) {
    352                                 dump( move( transUnit ) );
     351                                translationUnit = convert( move( transUnit ) );
     352                                dump( translationUnit );
    353353                                return EXIT_SUCCESS;
    354354                        } // if
     
    732732} // dump
    733733
    734 static void dump( ast::TranslationUnit && transUnit, ostream & out ) {
    735         std::list< Declaration * > translationUnit = convert( move( transUnit ) );
    736         dump( translationUnit, out );
    737 }
    738 
    739734// Local Variables: //
    740735// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.