Merge branch 'master' of https://github.com/zeek/zeek into topic/robin/closures-merge

This commit is contained in:
Zeke Medley 2019-07-25 11:23:40 -07:00
commit bdc8e0e6c4
60 changed files with 877 additions and 732 deletions

View file

@ -559,8 +559,8 @@ Stmt* BroFunc::AddInits(Stmt* body, id_list* inits)
return body;
StmtList* stmt_series = new StmtList;
stmt_series->Stmts().append(new InitStmt(inits));
stmt_series->Stmts().append(body);
stmt_series->Stmts().push_back(new InitStmt(inits));
stmt_series->Stmts().push_back(body);
return stmt_series;
}