mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
fix for installing identifiers for lambdas into the global scope
This commit is contained in:
parent
0e40f7e6af
commit
d8efb4b1f0
1 changed files with 1 additions and 1 deletions
|
@ -4674,7 +4674,7 @@ LambdaExpr::LambdaExpr(FunctionIngredientsPtr arg_ing, IDPList arg_outer_ids, st
|
||||||
my_name = name;
|
my_name = name;
|
||||||
|
|
||||||
// Install that in the global_scope
|
// Install that in the global_scope
|
||||||
lambda_id = install_ID(my_name.c_str(), current_module.c_str(), true, false);
|
lambda_id = install_ID(my_name.c_str(), "", true, false);
|
||||||
|
|
||||||
// Update lamb's name
|
// Update lamb's name
|
||||||
primary_func->SetName(my_name.c_str());
|
primary_func->SetName(my_name.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue