mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Frame merge and cleanup for merge.
This commit is contained in:
parent
1bf0cd29fd
commit
cef94832f1
28 changed files with 1032 additions and 1001 deletions
|
@ -26,8 +26,6 @@ extern void add_type(ID* id, BroType* t, attr_list* attr);
|
|||
extern void begin_func(ID* id, const char* module_name, function_flavor flavor,
|
||||
int is_redef, FuncType* t, attr_list* attrs = nullptr);
|
||||
extern void end_func(Stmt* body);
|
||||
extern std::unique_ptr<function_ingredients> gather_function_ingredients(Stmt* body);
|
||||
extern std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body);
|
||||
|
||||
// Gathers all of the information from a scope and a function body needed to
|
||||
// build a function and collects it into a function_ingredients struct.
|
||||
|
@ -35,7 +33,7 @@ extern std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body);
|
|||
extern std::unique_ptr<function_ingredients> gather_function_ingredients(Scope* scope, Stmt* body);
|
||||
|
||||
// Gather all IDs referenced inside a body that aren't part of a given scope.
|
||||
extern std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body);
|
||||
extern id_list gather_outer_ids(Scope* scope, Stmt* body);
|
||||
|
||||
extern Val* internal_val(const char* name);
|
||||
extern Val* internal_const_val(const char* name); // internal error if not const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue