]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
allow "break" inside of "case"
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 May 2025 11:19:44 +0000 (07:19 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 1 May 2025 11:52:02 +0000 (07:52 -0400)
commit1117d7ed6e664d774605a118731f42ccc61aa590
tree7a00bd09c4f6b074edacbc3947820588038c0db3
parent045c26e1067599e7e9f2c4e59055681774bcbb02
allow "break" inside of "case"

and "switch" is then marked as the break point.

Also update the "break" checks to use the flags instead of
unlang types
doc/antora/modules/reference/pages/unlang/break.adoc
doc/antora/modules/reference/pages/unlang/case.adoc
src/lib/unlang/compile.c
src/lib/unlang/switch.c
src/lib/unlang/unlang_priv.h
src/tests/keywords/switch-break [new file with mode: 0644]