- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptTranslate.cc
r7862059 ra16764a6 34 34 #include "SynTree/Statement.h" // for CompoundStmt, CatchStmt, ThrowStmt 35 35 #include "SynTree/Type.h" // for FunctionType, Type, noQualifiers 36 #include "SynTree/ DeclReplacer.h" // for DeclReplacer36 #include "SynTree/VarExprReplacer.h" // for VarExprReplacer, VarExprReplace... 37 37 #include "SynTree/Visitor.h" // for acceptAll 38 38 … … 314 314 // Update variables in the body to point to this local copy. 315 315 { 316 DeclReplacer::DeclMap mapping;316 VarExprReplacer::DeclMap mapping; 317 317 mapping[ handler_decl ] = local_except; 318 DeclReplacer::replace( handler->body, mapping );318 VarExprReplacer::replace( handler->body, mapping ); 319 319 } 320 320
Note:
See TracChangeset
for help on using the changeset viewer.