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
|
@ -77,8 +77,9 @@ void CPPCompile::Compile(bool report_uncompilable)
|
|||
continue;
|
||||
}
|
||||
|
||||
if ( is_when_lambda(f) )
|
||||
if ( is_lambda(f) || is_when_lambda(f) )
|
||||
{
|
||||
// We deal with these separately.
|
||||
func.SetSkip(true);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue