You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript crash at incomplete const bug fix
This commit is contained in:
@@ -976,6 +976,8 @@ GDScriptParser::ConstantNode *GDScriptParser::parse_constant() {
|
||||
push_error(R"(Expected initializer expression for constant.)");
|
||||
return nullptr;
|
||||
}
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
end_statement("constant declaration");
|
||||
|
||||
Reference in New Issue
Block a user