You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00: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:
@@ -359,9 +359,6 @@ static void _parser_show_block(const GDScriptParser::BlockNode *p_block, int p_i
|
||||
} break;
|
||||
case GDScriptParser::ControlFlowNode::CF_MATCH: {
|
||||
// FIXME: Implement
|
||||
} break;
|
||||
case GDScriptParser::ControlFlowNode::CF_SWITCH: {
|
||||
|
||||
} break;
|
||||
case GDScriptParser::ControlFlowNode::CF_CONTINUE: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user