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

GDScript: Fix and improve doc comment parsing

This commit is contained in:
Danil Alexeev
2023-09-15 18:59:30 +03:00
parent 5f1e56ff26
commit 072e9c5c82
3 changed files with 81 additions and 109 deletions

View File

@@ -187,6 +187,8 @@ public:
#ifdef TOOLS_ENABLED
struct CommentData {
String comment;
// true: Comment starts at beginning of line or after indentation.
// false: Inline comment (starts after some code).
bool new_line = false;
CommentData() {}
CommentData(const String &p_comment, bool p_new_line) {