Changes in src/SynTree/Expression.cc [d58ebf3:5f2f2d7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
rd58ebf3 r5f2f2d7 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Aug 12 14:02:45201513 // Update Count : 3011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jun 7 08:40:46 2015 13 // Update Count : 16 14 14 // 15 15 … … 38 38 Expression::~Expression() { 39 39 delete env; 40 delete argName; // xxx -- there's a problem in cloning ConstantExpr I still don't know how to fix40 // delete argName; // xxx -- there's a problem in cloning ConstantExpr I still don't know how to fix 41 41 deleteAll( results ); 42 42 } … … 72 72 73 73 void ConstantExpr::print( std::ostream &os, int indent ) const { 74 os << std::string( indent, ' ' ) <<"constant expression " ;74 os << "constant expression " ; 75 75 constant.print( os ); 76 76 Expression::print( os, indent ); 77 os << std::endl;78 77 } 79 78 … … 333 332 } 334 333 335 void AsmExpr::print( std::ostream &os, int indent ) const {336 os << "Asm Expression: " << std::endl;337 if ( inout ) inout->print( os, indent + 2 );338 if ( constraint ) constraint->print( os, indent + 2 );339 if ( operand ) operand->print( os, indent + 2 );340 }341 342 334 void UntypedValofExpr::print( std::ostream &os, int indent ) const { 343 335 os << std::string( indent, ' ' ) << "Valof Expression: " << std::endl;
Note:
See TracChangeset
for help on using the changeset viewer.