break, continue outside of a loop, match statement handled
(cherry picked from commit c076a2b7e9)
This commit is contained in:
committed by
Rémi Verschelde
parent
000899647a
commit
9ee77179b5
@ -240,7 +240,9 @@ public:
|
||||
BlockNode *parent_block;
|
||||
List<Node *> statements;
|
||||
Map<StringName, LocalVarNode *> variables;
|
||||
bool has_return;
|
||||
bool has_return = false;
|
||||
bool can_break = false;
|
||||
bool can_continue = false;
|
||||
|
||||
Node *if_condition; //tiny hack to improve code completion on if () blocks
|
||||
|
||||
@ -253,7 +255,6 @@ public:
|
||||
end_line = -1;
|
||||
parent_block = NULL;
|
||||
parent_class = NULL;
|
||||
has_return = false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user