GDScript: Remove function of continue for match statement
The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later.
This commit is contained in:
parent
2ec0da1a75
commit
9462ae4783
10 changed files with 5 additions and 76 deletions
|
|
@ -758,7 +758,6 @@ public:
|
|||
};
|
||||
|
||||
struct ContinueNode : public Node {
|
||||
bool is_for_match = false;
|
||||
ContinueNode() {
|
||||
type = CONTINUE;
|
||||
}
|
||||
|
|
@ -1254,7 +1253,6 @@ private:
|
|||
bool panic_mode = false;
|
||||
bool can_break = false;
|
||||
bool can_continue = false;
|
||||
bool is_continue_match = false; // Whether a `continue` will act on a `match`.
|
||||
List<bool> multiline_stack;
|
||||
|
||||
ClassNode *head = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue