GDScript: Be more lenient with identifiers
- Allow identifiers similar to keywords if they are in ASCII range. - Allow constants to be treated as regular identifiers. - Allow keywords that can be used as identifiers in expressions.
This commit is contained in:
parent
d02a7bc00d
commit
03ea77407c
8 changed files with 67 additions and 6 deletions
|
|
@ -1,6 +1,10 @@
|
|||
GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 3
|
||||
>> Line: 5
|
||||
>> CONFUSABLE_IDENTIFIER
|
||||
>> The identifier "pοrt" has misleading characters and might be confused with something else.
|
||||
>> WARNING
|
||||
>> Line: 12
|
||||
>> CONFUSABLE_IDENTIFIER
|
||||
>> The identifier "pοrt" has misleading characters and might be confused with something else.
|
||||
0 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue