Changeset 3f27b9a for src/ResolvExpr
- Timestamp:
- Aug 15, 2017, 3:03:34 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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:
- fcc88a4
- Parents:
- c6c6f2ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
rc6c6f2ae r3f27b9a 394 394 395 395 void Resolver::visit( CatchStmt *catchStmt ) { 396 Parent::visit( catchStmt ); 396 // inline Indexer::visit so that the exception variable is still in-scope for 397 // findSingleExpression() below 398 Parent::enterScope(); 399 Visitor::visit( catchStmt ); 397 400 398 401 if ( catchStmt->get_cond() ) { … … 403 406 catchStmt->set_cond( findSingleExpression( wrapped, *this ) ); 404 407 } 408 409 Parent::leaveScope(); 405 410 } 406 411
Note: See TracChangeset
for help on using the changeset viewer.