Fix parse error using Vector{2,3,4}.INF

This commit is contained in:
Adam Scott committed 2023-01-08 16:14:40 -05:00
1 parent fcba87e696
commit c45b9245ae
3 files changed
+10

No files matched your search

+1
View File
@@ -164,6 +164,7 @@ bool GDScriptTokenizer::Token::is_identifier() const {
switch (type) {
case IDENTIFIER:
case MATCH: // Used in String.match().
case CONST_INF: // Used in Vector{2,3,4}.INF
return true;
default:
return false;