mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix parse error using Vector{2,3,4}.INF
This commit is contained in:
parent
fcba87e696
commit
c45b9245ae
3 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue