mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
changes to ScriptFunc's to track captures, and LambdaExpr's to check/manage them
This commit is contained in:
parent
955384291d
commit
627fb8616e
4 changed files with 177 additions and 3 deletions
|
@ -847,9 +847,13 @@ protected:
|
|||
void ExprDescribe(ODesc* d) const override;
|
||||
|
||||
private:
|
||||
void CheckCaptures();
|
||||
|
||||
std::unique_ptr<function_ingredients> ingredients;
|
||||
|
||||
IDPList outer_ids;
|
||||
bool capture_by_ref; // if true, use deprecated reference semantics
|
||||
|
||||
std::string my_name;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue