Skip to content

Commit fc245d6

Browse files
committed
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
GDScript: Don't stop annotation argument parsing at file end
2 parents 4854c04 + 0e92dc7 commit fc245d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gdscript/gdscript_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ GDScriptParser::AnnotationNode *GDScriptParser::parse_annotation(uint32_t p_vali
17851785
}
17861786

17871787
argument_index++;
1788-
} while (match(GDScriptTokenizer::Token::COMMA) && !is_at_end());
1788+
} while (match(GDScriptTokenizer::Token::COMMA));
17891789

17901790
pop_multiline();
17911791
consume(GDScriptTokenizer::Token::PARENTHESIS_CLOSE, R"*(Expected ")" after annotation arguments.)*");

0 commit comments

Comments
 (0)