aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-24 23:28:59 +0000
committergingerBill <bill@gingerbill.org>2022-01-24 23:28:59 +0000
commitfe0b5bf4e27912c49f6c5eab817cbf514b0b22e4 (patch)
treef208f73ef6f9ae23c9a5ff548b8aa935e6de2ccf /src/entity.cpp
parentf20105ddfee6d9a2aa02452e459c42c7f0310e76 (diff)
Parse comments on enums fields
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 0f8bfa456..a0438a9f4 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -161,6 +161,8 @@ struct Entity {
ParameterValue param_value;
u32 flags;
i32 field_group_index;
+ CommentGroup *docs;
+ CommentGroup *comment;
} Constant;
struct {
Ast *init_expr; // only used for some variables within procedure bodies