diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 10:24:33 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 10:24:33 +0100 |
commit | 5726bf578d9b06bd7a22f1f32e0694550ea64945 (patch) | |
tree | 16a72dee07ba513e5ff93f1a0dde2b380b81ee0c /modules/gdscript/gdscript_warning.h | |
parent | 7d604535e1d28c1999622978b1bec8af02f01138 (diff) | |
parent | 86ee5f39c4de51ca062ce9fde3b1b3182fee5e47 (diff) | |
download | redot-engine-5726bf578d9b06bd7a22f1f32e0694550ea64945.tar.gz |
Merge pull request #71676 from vnen/gdscript-unicode-identifiers
Add support for Unicode identifiers in GDScript and Expression
Diffstat (limited to 'modules/gdscript/gdscript_warning.h')
-rw-r--r-- | modules/gdscript/gdscript_warning.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_warning.h b/modules/gdscript/gdscript_warning.h index e3aee45f33..b485f02b9c 100644 --- a/modules/gdscript/gdscript_warning.h +++ b/modules/gdscript/gdscript_warning.h @@ -78,6 +78,7 @@ public: SHADOWED_GLOBAL_IDENTIFIER, // A global class or function has the same name as variable. INT_ASSIGNED_TO_ENUM, // An integer value was assigned to an enum-typed variable without casting. STATIC_CALLED_ON_INSTANCE, // A static method was called on an instance of a class instead of on the class itself. + CONFUSABLE_IDENTIFIER, // The identifier contains misleading characters that can be confused. E.g. "usеr" (has Cyrillic "е" instead of Latin "e"). WARNING_MAX, }; |