mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
GDScript: Remove unused switch, case and do CF keywords
They had been reserved for future implementation, but we now have the `match` CF keyword which does the same and more. According to @reduz `do` was even added by mistake when copying from the shader language parser, it was never intended to add support for `do`... `while` loops, as the syntax would be awkward in GDScript, and the added sugar is not worth it. Fixes #25787.
This commit is contained in:
@@ -445,7 +445,6 @@ public:
|
||||
CF_IF,
|
||||
CF_FOR,
|
||||
CF_WHILE,
|
||||
CF_SWITCH,
|
||||
CF_BREAK,
|
||||
CF_CONTINUE,
|
||||
CF_RETURN,
|
||||
|
||||
Reference in New Issue
Block a user