You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
@@ -5084,6 +5084,9 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||||||
|
|
||||||
if (tokenizer->get_token() == GDScriptTokenizer::TK_COMMA) {
|
if (tokenizer->get_token() == GDScriptTokenizer::TK_COMMA) {
|
||||||
tokenizer->advance();
|
tokenizer->advance();
|
||||||
|
} else if (tokenizer->is_token_literal(0, true)) {
|
||||||
|
_set_error("Unexpected identifier");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enum_name != "") {
|
if (enum_name != "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user