mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixes for compiling lambdas to C++
This commit is contained in:
parent
4991693a9c
commit
6af0014a7b
3 changed files with 9 additions and 2 deletions
|
@ -174,7 +174,8 @@ extern void analyze_lambda(LambdaExpr* f);
|
|||
// has already been called.
|
||||
extern void analyze_when_lambda(LambdaExpr* f);
|
||||
|
||||
// Whether a given script function is a "when" lambda.
|
||||
// Whether a given script function is a lambda or (separately) a "when" lambda.
|
||||
extern bool is_lambda(const ScriptFunc* f);
|
||||
extern bool is_when_lambda(const ScriptFunc* f);
|
||||
|
||||
// Analyze the given top-level statement(s) for optimization. Returns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue