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

Merge pull request #72971 from vnen/gdscript-multiline-comment

GDScript: Allow strings as multiline comments
This commit is contained in:
Rémi Verschelde
2023-02-09 16:19:03 +01:00
5 changed files with 75 additions and 21 deletions

View File

@@ -0,0 +1,21 @@
"""
This is a comment.
"""
@tool
"""
This is also a comment.
"""
extends RefCounted
'''
This is a comment too.
'''
func test():
"""
This too is a comment.
"""
print("ok")

View File

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