mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 10:23:28 +00:00
parent
4cb0887660
commit
c43e050145
1 changed files with 3 additions and 0 deletions
|
|
@ -5084,6 +5084,9 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||
|
||||
if (tokenizer->get_token() == GDScriptTokenizer::TK_COMMA) {
|
||||
tokenizer->advance();
|
||||
} else if (tokenizer->is_token_literal(0, true)) {
|
||||
_set_error("Unexpected identifier");
|
||||
return;
|
||||
}
|
||||
|
||||
if (enum_name != "") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue