You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
GDScript: Add raw string literals (r-strings)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
func test():
|
||||
print(r"\")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Unterminated string.
|
||||
@@ -0,0 +1,2 @@
|
||||
func test():
|
||||
print(r"\\"")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Unterminated string.
|
||||
@@ -0,0 +1,3 @@
|
||||
func test():
|
||||
# v
|
||||
print(r"['"]*")
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Closing "]" doesn't have an opening counterpart.
|
||||
Reference in New Issue
Block a user