Changeset 056bee8 for src/AST/Print.cpp


Ignore:
Timestamp:
Mar 23, 2023, 4:00:51 PM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
1633e04
Parents:
c94b1f0
Message:

Added printing of with clauses to the printing of both new and old ast nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    rc94b1f0 r056bee8  
    369369                                --indent;
    370370                        }
     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;
    371379                }
    372380
Note: See TracChangeset for help on using the changeset viewer.