diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-09 16:19:03 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-09 16:19:03 +0100 |
commit | dc7f08b556af3084e7776bf4308649f4984ef671 (patch) | |
tree | 63de466d22590f458661e0827f5b718220493aab /modules/gdscript/tests/scripts/parser/warnings | |
parent | ab4a7b2b77625f7a97714e46aec896ba12e5caec (diff) | |
parent | f95967c29993f4008a40ae1871a62f91bf301c47 (diff) |
Merge pull request #72971 from vnen/gdscript-multiline-comment
GDScript: Allow strings as multiline comments
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/warnings')
-rw-r--r-- | modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd | 1 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/parser/warnings/standalone_expression.out | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd b/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd index 18ea260fa2..dc4223ec2d 100644 --- a/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd +++ b/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.gd @@ -1,6 +1,5 @@ func test(): # The following statements should all be reported as standalone expressions: - "This is a standalone expression" 1234 0.0 + 0.0 Color(1, 1, 1) diff --git a/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.out b/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.out index 99ec87438e..a2c67a6e51 100644 --- a/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.out +++ b/modules/gdscript/tests/scripts/parser/warnings/standalone_expression.out @@ -8,14 +8,10 @@ GDTEST_OK >> STANDALONE_EXPRESSION >> Standalone expression (the line has no effect). >> WARNING ->> Line: 5 +>> Line: 6 >> STANDALONE_EXPRESSION >> Standalone expression (the line has no effect). >> WARNING >> Line: 7 >> STANDALONE_EXPRESSION >> Standalone expression (the line has no effect). ->> WARNING ->> Line: 8 ->> STANDALONE_EXPRESSION ->> Standalone expression (the line has no effect). |