1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

break, continue outside of a loop, match statement handled

This commit is contained in:
Thakee Nathees
2020-03-02 17:02:23 +05:30
parent 00949f0c5f
commit c076a2b7e9
2 changed files with 37 additions and 0 deletions

View File

@@ -231,6 +231,8 @@ public:
List<Node *> statements;
Map<StringName, LocalVarNode *> variables;
bool has_return = false;
bool can_break = false;
bool can_continue = false;
Node *if_condition = nullptr; //tiny hack to improve code completion on if () blocks