mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Table defaults capture closures.
This commit is contained in:
parent
d7a73c270d
commit
28253b24f9
13 changed files with 459 additions and 364 deletions
|
@ -553,7 +553,7 @@ std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body)
|
|||
std::shared_ptr<id_list> idl (new id_list);
|
||||
|
||||
for ( size_t i = 0; i < cb.outer_id_references.size(); ++i )
|
||||
idl->append(cb.outer_id_references[i]->Id());
|
||||
idl->append(cb.outer_id_references[i]->Id());
|
||||
|
||||
return std::move(idl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue