`Label: repeat {} while` statement

(Dante Broggi) #1

IDE: Visual Studio X/Fire
Version: (develop)
Target (If relevant): OSX
Currently, repeat while statements cannot be labeled.
I presume this was simply missed when do while was renamed.

Note: I also posted this in the Silver subforum. If it shouldn’t have been posted there that post may be deleted. The Bug Reports page didn’t specify which subforum.

Expected Behavior:
Actual Behavior:
“E: One of “for”, “while”, “do”, “switch” expected, got “repeat” [<file> (<line>)]”

label: repeat { // Error here
 if cond2 { break label }
 // code
} while cond
(RemObjects) #2

Thanks, logged as bugs://82572

(RemObjects) #3

bugs://82572 got closed with status fixed.