Update CommentGroup parsing for struct types

This commit is contained in:
gingerBill
2022-01-24 14:47:33 +00:00
parent 49872e40dc
commit 2554c72bb2
5 changed files with 21 additions and 3 deletions
+6
View File
@@ -811,6 +811,12 @@ OdinDocEntityIndex odin_doc_add_entity(OdinDocWriter *w, Entity *e) {
comment = e->decl_info->comment;
docs = e->decl_info->docs;
}
if (!comment && e->kind == Entity_Variable) {
comment = e->Variable.comment;
}
if (!docs && e->kind == Entity_Variable) {
docs = e->Variable.docs;
}
String link_name = {};