1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

GDScript: Support % in shorthand for get_node

The `%` is used in scene unique nodes. Now `%` can also be used instead
of `$` for the shorthand, besides being allowed generally anywhere in
the path as the prefix for a node name.
This commit is contained in:
George Marques
2022-05-26 12:56:39 -03:00
parent d81c5eab8c
commit eba3e0a9fc
11 changed files with 182 additions and 80 deletions

View File

@@ -1,2 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path as string or identifier after "$".
Expected node path as string or identifier after "$".

View File

@@ -1,2 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path as string or identifier after "$".
Expected node path as string or identifier after "$".

View File

@@ -1,2 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path as string or identifier after "$".
Expected node path as string or identifier after "$".

View File

@@ -1,2 +1,2 @@
GDTEST_PARSER_ERROR
Expect node path after "/".
Expected node path as string or identifier after "/".