Changes in src/ResolvExpr/Resolver.cc [60914351:a33fdbe]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r60914351 ra33fdbe 280 280 std::list< Statement * > newStmts; 281 281 resolveWithExprs( functionDecl->withExprs, newStmts ); 282 functionDecl->statements->kids.splice( functionDecl->statements->kids.begin(), 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 } 283 287 } 284 288 }
Note:
See TracChangeset
for help on using the changeset viewer.