You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Fix "Mismatched external parser" for autoloads
This commit is contained in:
@@ -413,7 +413,7 @@ Error GDScriptParser::parse_binary(const Vector<uint8_t> &p_binary, const String
|
||||
}
|
||||
|
||||
tokenizer = buffer_tokenizer;
|
||||
script_path = p_script_path;
|
||||
script_path = p_script_path.simplify_path();
|
||||
current = tokenizer->scan();
|
||||
// Avoid error or newline as the first token.
|
||||
// The latter can mess with the parser when opening files filled exclusively with comments and newlines.
|
||||
|
||||
Reference in New Issue
Block a user