aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-19 14:57:27 +0000
committergingerBill <bill@gingerbill.org>2022-01-19 14:57:27 +0000
commit28a816ef25476086800a294202aad7c1a1bfc0f0 (patch)
treee847c3ba38e26c5195d8b2ebac5dd10877199de7 /src/entity.cpp
parent6bdb210ad8f827c93f0a903c8cdbea73555409ec (diff)
Allow for entity grouping in structs and procedure signatures with the Odin doc-format
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 b39ffc63a..05ee9a33e 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -160,10 +160,12 @@ struct Entity {
ExactValue value;
ParameterValue param_value;
u32 flags;
+ i32 field_group_index;
} Constant;
struct {
Ast *init_expr; // only used for some variables within procedure bodies
i32 field_index;
+ i32 field_group_index;
ParameterValue param_value;