Merge pull request #72971 from vnen/gdscript-multiline-comment
GDScript: Allow strings as multiline comments
This commit is contained in:
commit
dc7f08b556
5 changed files with 75 additions and 21 deletions
|
|
@ -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")
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_OK
|
||||
ok
|
||||
Loading…
Add table
Add a link
Reference in a new issue