Make break/next/continue outside loops an error (6.1 deprecation)

This commit is contained in:
Tim Wojtulewicz 2023-06-01 16:05:41 +02:00 committed by Tim Wojtulewicz
parent 9a79b98a1e
commit 0110c15ee2
11 changed files with 15 additions and 17 deletions

View file

@ -1,2 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
warning in <...>/next-break-context-errors.zeek, line 6: next statement used outside of for or while statement. With v6.1 this will become an error.
error in <...>/next-break-context-errors.zeek, line 6: next statement used outside of for or while statement. (next )