mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
changed function_ingredients struct to FunctionIngredients class with accessors
This commit is contained in:
parent
5718046b96
commit
0c434ca4f8
11 changed files with 63 additions and 53 deletions
|
@ -1572,9 +1572,9 @@ lambda_body:
|
|||
|
||||
// Gather the ingredients for a Func from the
|
||||
// current scope.
|
||||
auto ingredients = std::make_unique<function_ingredients>(
|
||||
auto ingredients = std::make_unique<FunctionIngredients>(
|
||||
current_scope(), IntrusivePtr{AdoptRef{}, $3}, current_module.c_str());
|
||||
auto outer_ids = gather_outer_ids(pop_scope(), ingredients->body);
|
||||
auto outer_ids = gather_outer_ids(pop_scope(), ingredients->Body());
|
||||
|
||||
$$ = new LambdaExpr(std::move(ingredients), std::move(outer_ids));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue