Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/FunctionDecl.cc

    r3a5131ed r13de47bc  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Feb 16 15:01:52 2017
    13 // Update Count     : 23
     12// Last Modified On : Sat Oct  1 23:06:32 2016
     13// Update Count     : 21
    1414//
    1515
     
    4444        delete type;
    4545        delete statements;
     46        deleteAll( oldDecls );
    4647}
    4748
     
    8384        } // if
    8485
     86        if ( ! oldIdents.empty() ) {
     87                os << string( indent + 2, ' ' ) << "with parameter names" << endl;
     88                for ( std::list< std::string >::const_iterator i = oldIdents.begin(); i != oldIdents.end(); ++i ) {
     89                        os << string( indent + 4, ' ' ) << *i << endl;
     90                } // for
     91        } // if
     92
     93        if ( ! oldDecls.empty() ) {
     94                os << string( indent + 2, ' ' ) << "with parameter declarations" << endl;
     95                printAll( oldDecls, os, indent + 4 );
     96        } // if
    8597        if ( statements ) {
    8698                os << string( indent + 2, ' ' ) << "with body " << endl;
Note: See TracChangeset for help on using the changeset viewer.