mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-10 14:54:52 -04:00
Use enum value init expression instead of numeric value in doc format
This commit is contained in:
1 parent
5f321d687c
commit
a311d8f6df
3 files changed
+5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user