mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 19:11:33 +00:00
GDScript: partially allow some functions on invalid scripts
+ always default initialize static variables + dont invalidate script when dependant scripts don't compile/resolve
This commit is contained in:
parent
505da68b26
commit
7f7114c008
5 changed files with 101 additions and 136 deletions
|
|
@ -91,12 +91,8 @@ Error GDScriptParserRef::raise_status(Status p_new_status) {
|
|||
result = get_analyzer()->resolve_interface();
|
||||
} break;
|
||||
case INTERFACE_SOLVED: {
|
||||
status = BODY_SOLVED;
|
||||
result = get_analyzer()->resolve_body();
|
||||
} break;
|
||||
case BODY_SOLVED: {
|
||||
status = FULLY_SOLVED;
|
||||
result = get_analyzer()->resolve_dependencies();
|
||||
result = get_analyzer()->resolve_body();
|
||||
} break;
|
||||
case FULLY_SOLVED: {
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue