1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

GDScript: Fix continuation lines in GDScriptTokenizerBuffer

This commit is contained in:
Danil Alexeev
2024-03-14 12:33:56 +03:00
parent 6c57928063
commit 02253b6b91
5 changed files with 35 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
# GH-89403
func test():
var x := 1
if x == 0 \
# Comment.
# Comment.
and (x < 1 or x > 2) \
# Comment.
and x != 3:
pass
print("Ok")

View File

@@ -0,0 +1,2 @@
GDTEST_OK
Ok