mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
break, continue outside of a loop, match statement handled
This commit is contained in:
parent
00949f0c5f
commit
c076a2b7e9
2 changed files with 37 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue