mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Merge branch 'master' of https://github.com/zeek/zeek into topic/robin/closures-merge
This commit is contained in:
commit
bdc8e0e6c4
60 changed files with 877 additions and 732 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue