mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix synchronization of global class name
This commit is contained in:
parent
6b281c0c07
commit
39369db029
13 changed files with 455 additions and 201 deletions
|
@ -2759,7 +2759,7 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
|
|||
String source = f->get_as_utf8_string();
|
||||
|
||||
GDScriptParser parser;
|
||||
err = parser.parse(source, p_path, false);
|
||||
err = parser.parse(source, p_path, false, false);
|
||||
|
||||
const GDScriptParser::ClassNode *c = parser.get_tree();
|
||||
if (!c) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue