mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
whitespace adjustment
This commit is contained in:
parent
3139cf2594
commit
e5a0b2c04c
1 changed files with 1 additions and 2 deletions
|
@ -168,8 +168,7 @@ const FuncInfo* analyze_global_stmts(Stmt* stmts)
|
||||||
auto sc = current_scope();
|
auto sc = current_scope();
|
||||||
std::vector<IDPtr> empty_inits;
|
std::vector<IDPtr> empty_inits;
|
||||||
StmtPtr stmts_p{NewRef{}, stmts};
|
StmtPtr stmts_p{NewRef{}, stmts};
|
||||||
auto sf = make_intrusive<ScriptFunc>(id, stmts_p, empty_inits,
|
auto sf = make_intrusive<ScriptFunc>(id, stmts_p, empty_inits, sc->Length(), 0);
|
||||||
sc->Length(), 0);
|
|
||||||
|
|
||||||
funcs.emplace_back(sf, ScopePtr{NewRef{}, sc}, stmts_p);
|
funcs.emplace_back(sf, ScopePtr{NewRef{}, sc}, stmts_p);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue