Changeset 6137fbb for src/SymTab/Indexer.cc
- Timestamp:
- Oct 19, 2017, 11:13:11 AM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- bd7e609
- Parents:
- 0a22cda
- git-author:
- Rob Schluntz <rschlunt@…> (10/11/17 15:59:22)
- git-committer:
- Rob Schluntz <rschlunt@…> (10/19/17 11:13:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r0a22cda r6137fbb 571 571 572 572 if ( doDebug ) { 573 std::c out<< "--- Entering scope " << scope << std::endl;573 std::cerr << "--- Entering scope " << scope << std::endl; 574 574 } 575 575 } 576 576 577 577 void Indexer::leaveScope() { 578 using std::c out;578 using std::cerr; 579 579 580 580 assert( scope > 0 && "cannot leave initial scope" ); 581 if ( doDebug ) { 582 cerr << "--- Leaving scope " << scope << " containing" << std::endl; 583 } 581 584 --scope; 582 585 583 586 while ( tables && tables->scope > scope ) { 584 587 if ( doDebug ) { 585 cout << "--- Leaving scope " << tables->scope << " containing" << std::endl; 586 dump( tables->idTable, cout ); 587 dump( tables->typeTable, cout ); 588 dump( tables->structTable, cout ); 589 dump( tables->enumTable, cout ); 590 dump( tables->unionTable, cout ); 591 dump( tables->traitTable, cout ); 588 dump( tables->idTable, cerr ); 589 dump( tables->typeTable, cerr ); 590 dump( tables->structTable, cerr ); 591 dump( tables->enumTable, cerr ); 592 dump( tables->unionTable, cerr ); 593 dump( tables->traitTable, cerr ); 592 594 } 593 595
Note: See TracChangeset
for help on using the changeset viewer.