Changes in / [7cc6bd6:2e3a379]
- Location:
- src/SynTree
- Files:
-
- 3 edited
-
Expression.cc (modified) (3 diffs)
-
FunctionDecl.cc (modified) (4 diffs)
-
ObjectDecl.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r7cc6bd6 r2e3a379 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed May 04 12:17:51201612 // Last Modified On : Wed Apr 27 17:07:19 2016 13 13 // Update Count : 40 14 14 // … … 323 323 324 324 Expression *agg = get_aggregate(); 325 os << ",from aggregate: ";325 os << std::string( indent, ' ' ) << "from aggregate: "; 326 326 if (agg != 0) { 327 os << std::string( indent+2, ' ' ); 327 328 agg->print(os, indent + 2); 328 329 } … … 360 361 os << std::string( indent, ' ' ) << "from aggregate: " << std::endl; 361 362 if (agg != 0) { 363 os << std::string( indent+2, ' ' ); 362 364 agg->print(os, indent + 2); 363 365 } -
src/SynTree/FunctionDecl.cc
r7cc6bd6 r2e3a379 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FunctionDecl.cc -- 7 // FunctionDecl.cc -- 8 8 // 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 : Tue May 03 15:37:43 201611 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jul 13 18:11:44 2015 13 13 // Update Count : 19 14 14 // … … 52 52 using std::endl; 53 53 using std::string; 54 54 55 55 if ( get_name() != "" ) { 56 56 os << get_name() << ": "; … … 87 87 if ( statements ) { 88 88 os << string( indent + 2, ' ' ) << "with body " << endl; 89 os << string( indent + 4, ' ' );90 89 statements->print( os, indent + 4 ); 91 90 } // if … … 95 94 using std::endl; 96 95 using std::string; 97 96 98 97 if ( get_name() != "" ) { 99 98 os << get_name() << ": "; -
src/SynTree/ObjectDecl.cc
r7cc6bd6 r2e3a379 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed May 04 12:18:28201612 // Last Modified On : Tue Apr 26 12:56:27 2016 13 13 // Update Count : 30 14 14 // … … 57 57 58 58 if ( init ) { 59 os << std::string(indent, ' ');60 59 os << " with initializer "; 61 60 init->print( os, indent ); … … 64 63 65 64 if ( bitfieldWidth ) { 66 os << std::string(indent, ' ');67 65 os << " with bitfield width "; 68 66 bitfieldWidth->print( os );
Note:
See TracChangeset
for help on using the changeset viewer.