Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptTranslate.cc

    rd48e529 r7543dec  
    315315                        {
    316316                                VarExprReplacer::DeclMap mapping;
    317                                 mapping[ handler_decl ] = local_except;
     317                                mapping[ handler_decl ] = new VariableExpr( local_except );
    318318                                VarExprReplacer mapper( mapping );
    319                                 handler->get_body()->accept( mapper );
     319                                handler->body->acceptMutator( mapper );
    320320                        }
    321321
    322                         block->push_back( handler->get_body() );
    323                         handler->set_body( nullptr );
     322                        block->push_back( handler->body );
     323                        handler->body = nullptr;
    324324
    325325                        std::list<Statement *> caseBody
Note: See TracChangeset for help on using the changeset viewer.