You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Add support for Unicode identifiers in GDScript
This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
func test():
|
||||
var аs # Using Cyrillic "а".
|
||||
print(аs)
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Identifier "аs" is visually similar to the GDScript keyword "as" and thus not allowed.
|
||||
Reference in New Issue
Block a user