GDScript crash at incomplete const bug fix
This commit is contained in:
parent
7d972b8c67
commit
18f30dda63
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user