mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-19 20:01:36 +00:00
Use enum value init expression instead of numeric value in doc format
This commit is contained in:
@@ -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