Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    ra33fdbe r60914351  
    280280                        std::list< Statement * > newStmts;
    281281                        resolveWithExprs( functionDecl->withExprs, newStmts );
    282                         if ( functionDecl->statements ) {
    283                                 functionDecl->statements->kids.splice( functionDecl->statements->kids.begin(), newStmts );
    284                         } else {
    285                                 assertf( functionDecl->withExprs.empty() && newStmts.empty(), "Function %s without a body has with-clause and/or generated with declarations.", functionDecl->name.c_str() );
    286                         }
     282                        functionDecl->statements->kids.splice( functionDecl->statements->kids.begin(), newStmts );
    287283                }
    288284        }
Note: See TracChangeset for help on using the changeset viewer.