mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
added notice of deprecation to NEWS
This commit is contained in:
parent
38c6c8f073
commit
aee333cc62
1 changed files with 21 additions and 0 deletions
21
NEWS
21
NEWS
|
@ -159,6 +159,27 @@ Deprecated Functionality
|
|||
replaced by ``analyzer_confirmation`` and ``analyzer_violation`` which can
|
||||
also now be implemented in packet analyzers.
|
||||
|
||||
- Declaring a local variable in an inner scope and then accessing it in an
|
||||
outer scope is now deprecated. For example,
|
||||
|
||||
if ( foo() )
|
||||
{
|
||||
local a = 5;
|
||||
...
|
||||
}
|
||||
print a;
|
||||
|
||||
is deprecated. You can address the issue by hoisting the declaration
|
||||
to the outer scope, such as:
|
||||
|
||||
local a: count;
|
||||
if ( foo() )
|
||||
{
|
||||
a = 5;
|
||||
...
|
||||
}
|
||||
print a;
|
||||
|
||||
Zeek 4.1.0
|
||||
==========
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue