Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.cc

    r89231bc r60089f4  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Tue Apr 26 12:33:33 2016
     12// Last Modified On : Thu Apr 28 13:34:32 2016
    1313// Update Count     : 54
    1414//
     
    128128void IfStmt::print( std::ostream &os, int indent ) const {
    129129        os << "If on condition: " << endl ;
     130        os << string( indent+4, ' ' );
    130131        condition->print( os, indent + 4 );
    131132
    132         os << string( indent, ' ' ) << ".... and branches: " << endl;
    133 
     133        os << string( indent+2, ' ' ) << "... then: " << endl;
     134
     135        os << string( indent+4, ' ' );
    134136        thenPart->print( os, indent + 4 );
    135137
    136138        if ( elsePart != 0 ) {
     139                os << string( indent+2, ' ' ) << "... else: " << endl;
     140                os << string( indent+4, ' ' );
    137141                elsePart->print( os, indent + 4 );
    138142        } // if
Note: See TracChangeset for help on using the changeset viewer.