feat: updated godot version
This commit is contained in:
parent
0c508b0831
commit
42b028dbb5
4694 changed files with 236470 additions and 401376 deletions
|
|
@ -36,7 +36,6 @@
|
|||
#include "gdscript_parser.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/templates/vector.h"
|
||||
|
||||
GDScriptParserRef::Status GDScriptParserRef::get_status() const {
|
||||
|
|
@ -69,10 +68,6 @@ Error GDScriptParserRef::raise_status(Status p_new_status) {
|
|||
ERR_FAIL_COND_V(clearing, ERR_BUG);
|
||||
ERR_FAIL_COND_V(parser == nullptr && status != EMPTY, ERR_BUG);
|
||||
|
||||
if (p_new_status < status) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
while (result == OK && p_new_status > status) {
|
||||
switch (status) {
|
||||
case EMPTY: {
|
||||
|
|
@ -260,7 +255,7 @@ void GDScriptCache::remove_parser(const String &p_path) {
|
|||
singleton->parser_map.erase(p_path);
|
||||
|
||||
// Have to copy while iterating, because parser_inverse_dependencies is modified.
|
||||
HashSet<String> ideps(singleton->parser_inverse_dependencies[p_path]);
|
||||
HashSet<String> ideps = singleton->parser_inverse_dependencies[p_path];
|
||||
singleton->parser_inverse_dependencies.erase(p_path);
|
||||
for (String idep_path : ideps) {
|
||||
remove_parser(idep_path);
|
||||
|
|
@ -428,7 +423,7 @@ Error GDScriptCache::finish_compiling(const String &p_owner) {
|
|||
singleton->full_gdscript_cache[p_owner] = script;
|
||||
singleton->shallow_gdscript_cache.erase(p_owner);
|
||||
|
||||
HashSet<String> depends(singleton->dependencies[p_owner]);
|
||||
HashSet<String> depends = singleton->dependencies[p_owner];
|
||||
|
||||
Error err = OK;
|
||||
for (const String &E : depends) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue