parent
4cb0887660
commit
c43e050145
|
@ -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…
Reference in New Issue