mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
GH-725: fix logic for finding a lambda's usage of outer IDs
This commit is contained in:
parent
f032885085
commit
1ca11f11c7
6 changed files with 43 additions and 22 deletions
|
@ -61,6 +61,7 @@ extern const char* expr_name(BroExprTag t);
|
|||
template <class T> class IntrusivePtr;
|
||||
class Stmt;
|
||||
class Frame;
|
||||
class Scope;
|
||||
class ListExpr;
|
||||
class NameExpr;
|
||||
class IndexExpr;
|
||||
|
@ -813,6 +814,8 @@ public:
|
|||
IntrusivePtr<Val> Eval(Frame* f) const override;
|
||||
TraversalCode Traverse(TraversalCallback* cb) const override;
|
||||
|
||||
Scope* GetScope() const;
|
||||
|
||||
protected:
|
||||
void ExprDescribe(ODesc* d) const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue