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

Merge pull request #105413 from HolonProduction/gdscript-recover-match

GDScript: Do phrase level recovery for match
This commit is contained in:
Thaddeus Crews
2025-05-23 09:46:10 -05:00
16 changed files with 100 additions and 1 deletions

View File

@@ -1464,6 +1464,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