GDScript: Add raw string literals (r-strings)
This commit is contained in:
parent
221884e6bc
commit
2964c7d51c
13 changed files with 250 additions and 132 deletions
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue