Changes in src/SynTree/Expression.cc [7f5566b:d0d9610]
- File:
-
- 1 edited
-
src/SynTree/Expression.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r7f5566b rd0d9610 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Tue Jul 28 16:27:17201513 // Update Count : 2211 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Sep 02 12:07:10 2015 13 // Update Count : 33 14 14 // 15 15 … … 31 31 Expression::Expression( Expression *_aname ) : env( 0 ), argName( _aname ) {} 32 32 33 Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ) {33 Expression::Expression( const Expression &other ) : env( maybeClone( other.env ) ), argName( maybeClone( other.get_argName() ) ) { 34 34 cloneAll( other.results, results ); 35 argName = other.get_argName();36 35 } 37 36 … … 72 71 73 72 void ConstantExpr::print( std::ostream &os, int indent ) const { 74 os << "constant expression " ;73 os << std::string( indent, ' ' ) << "constant expression " ; 75 74 constant.print( os ); 76 75 Expression::print( os, indent ); 76 os << std::endl; 77 77 } 78 78
Note:
See TracChangeset
for help on using the changeset viewer.