aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index a27b7cb37..3926678fd 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -93,7 +93,9 @@ struct ParameterValue {
};
};
-
+enum EntityConstantFlags : u32 {
+ EntityConstantFlag_ImplicitEnumValue = 1<<0,
+};
// An Entity is a named "thing" in the language
struct Entity {
@@ -126,6 +128,7 @@ struct Entity {
struct {
ExactValue value;
ParameterValue param_value;
+ u32 flags;
} Constant;
struct {
Ast *init_expr; // only used for some variables within procedure bodies