mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Lambdas selectively clone from the closure.
This commit is contained in:
parent
63117de050
commit
8257a644d3
6 changed files with 62 additions and 39 deletions
|
@ -421,7 +421,6 @@ TraversalCode OuterIDBindingFinder::PreExpr(const Expr* expr)
|
|||
|
||||
const NameExpr* e = static_cast<const NameExpr*>(expr);
|
||||
|
||||
// TODO: Do we need to capture these as well?
|
||||
if ( e->Id()->IsGlobal() )
|
||||
return TC_CONTINUE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue