You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Do phrase level recovery for match
This commit is contained in:
@@ -1463,6 +1463,14 @@ private:
|
||||
return node;
|
||||
}
|
||||
|
||||
SuiteNode *alloc_recovery_suite() {
|
||||
SuiteNode *suite = alloc_recovery_node<SuiteNode>();
|
||||
suite->parent_block = current_suite;
|
||||
suite->parent_function = current_function;
|
||||
suite->is_in_loop = current_suite->is_in_loop;
|
||||
return suite;
|
||||
}
|
||||
|
||||
void clear();
|
||||
void push_error(const String &p_message, const Node *p_origin = nullptr);
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user