Changeset 056bee8
- Timestamp:
- Mar 23, 2023, 4:00:51 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 1633e04
- Parents:
- c94b1f0
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
rc94b1f0 r056bee8 369 369 --indent; 370 370 } 371 } 372 373 if ( ! node->withExprs.empty() ) { 374 // Not with a clause, but the 'with clause'. 375 ++indent; 376 os << " with clause" << endl << indent; 377 printAll( node->withExprs ); 378 --indent; 371 379 } 372 380 -
src/SynTree/FunctionDecl.cc
rc94b1f0 r056bee8 87 87 } // if 88 88 89 if ( !withExprs.empty() ) { 90 os << indent << "... with clause" << std::endl; 91 os << indent + 1; 92 printAll( withExprs, os, indent + 1 ); 93 } 94 89 95 if ( statements ) { 90 96 os << indent << "... with body" << endl << indent+1;
Note: See TracChangeset
for help on using the changeset viewer.