Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    rd0d9610 r7f5566b  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Sep 02 12:07:10 2015
    13 // Update Count     : 33
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul 28 16:27:17 2015
     13// Update Count     : 22
    1414//
    1515
     
    3131Expression::Expression( Expression *_aname ) : env( 0 ), argName( _aname ) {}
    3232
    33 Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ), argName( maybeClone( other.get_argName() ) ) {
     33Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ) {
    3434        cloneAll( other.results, results );
     35        argName = other.get_argName();
    3536}
    3637
     
    7172
    7273void ConstantExpr::print( std::ostream &os, int indent ) const {
    73         os << std::string( indent, ' ' ) << "constant expression " ;
     74        os << "constant expression " ;
    7475        constant.print( os );
    7576        Expression::print( os, indent );
    76         os << std::endl;
    7777}
    7878
Note: See TracChangeset for help on using the changeset viewer.