Use enum value init expression instead of numeric value in doc format

This commit is contained in:
Franz Hoeltermann committed 2026-08-11 13:51:06 +02:00
1 parent 5f321d687c
commit a311d8f6df
3 files changed
+5

No files matched your search

+1
View File
@@ -205,6 +205,7 @@ struct Entity {
i32 field_group_index;
CommentGroup *docs;
CommentGroup *comment;
Ast *init_expr; // only used for enum values
} Constant;
struct {
Ast *type_expr; // only used for some variables within procedure bodies