Changes in src/SynTree/CompoundStmt.cc [50377a4:e3e16bc]
- File:
-
- 1 edited
-
src/SynTree/CompoundStmt.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/CompoundStmt.cc
r50377a4 re3e16bc 29 29 30 30 CompoundStmt::CompoundStmt( std::list<Label> labels ) : Statement( labels ) { 31 }32 33 CompoundStmt::CompoundStmt( std::list<Statement *> stmts ) : Statement( noLabels ), kids( stmts ) {34 31 } 35 32 … … 73 70 } 74 71 75 void CompoundStmt::print( std::ostream &os, Indenterindent ) const {76 os << "CompoundStmt" << endl ;77 printAll( kids, os, indent +1);72 void CompoundStmt::print( std::ostream &os, int indent ) const { 73 os << "CompoundStmt" << endl ; 74 printAll( kids, os, indent + 2 ); 78 75 } 79 76
Note:
See TracChangeset
for help on using the changeset viewer.