mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixes for -O gen-standalone-C++ generation of lambdas
This commit is contained in:
parent
b2222e97a1
commit
a3b54b69a1
4 changed files with 23 additions and 11 deletions
|
@ -79,6 +79,10 @@ void CPPCompile::Compile(bool report_uncompilable) {
|
|||
}
|
||||
}
|
||||
|
||||
for ( auto& l : pfs->Lambdas() )
|
||||
if ( obj_matches_opt_files(l) )
|
||||
accessed_lambdas.insert(l);
|
||||
|
||||
for ( auto& ea : pfs->ExprAttrs() )
|
||||
if ( obj_matches_opt_files(ea.first) ) {
|
||||
auto& attr = ea.first;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue