GDScript: Allow strings as multiline comments
Bring back the behavior in 3.x that was left out by oversight.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user