mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
ScriptValidation: Make break/next a warning until Zeek 6.1
The ja3 package uses next instead of return and triggers the new errors with Zeek 5.2. That seems somewhat bad. In case we want to do a 5.2.1 that makes this a warning, this would be change to do so.
This commit is contained in:
parent
802d24cad7
commit
56c76e5949
11 changed files with 17 additions and 15 deletions
|
@ -1,2 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/next-break-context-errors.zeek, line 3: break statement used outside of for, while or switch statement and not within a hook
|
||||
warning in <...>/next-break-context-errors.zeek, line 3: break statement used outside of for, while or switch statement and not within a hook. With v6.1 this will become an error.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue