mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Stmt: Error on deprecated when/local usage
This has been around since Zeek v4.1, so it was warned about in Zeek 5.0 LTS and we could've removed it with 5.1. Also removed merge_top_scope() from the zeek::detail namespace, it's unused now. Updated the when-aggregates test somehow. I'm not quite sure what had been tested there :-/
This commit is contained in:
parent
5ef62b2de8
commit
bb80d80218
9 changed files with 18 additions and 36 deletions
|
@ -93,10 +93,6 @@ extern void push_existing_scope(ScopePtr scope);
|
|||
// Returns the one popped off.
|
||||
extern ScopePtr pop_scope();
|
||||
|
||||
// Merges the elements of the current scope with the one surrounding it,
|
||||
// popping it in the process.
|
||||
extern void merge_top_scope();
|
||||
|
||||
extern ScopePtr current_scope();
|
||||
extern ScopePtr global_scope();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue