aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-23 11:50:02 +0100
committergingerBill <bill@gingerbill.org>2021-08-23 11:50:02 +0100
commitcba0bd30f548c6a757a3ed5fb994380a4a10aa2e (patch)
tree2a531f0d0d4609e84ab5402f6604a1268fc125cf /src/entity.cpp
parent276d4b8f0d5c5bcff4b83bab12746dd80e10fc90 (diff)
Add suggestions when trying to take the address the a value from a `for`/`switch` statement
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 02b5f4a75..8343ba557 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -69,6 +69,9 @@ enum EntityFlag : u64 {
EntityFlag_Lazy = 1ull<<27, // Lazily type checked
+ EntityFlag_ForValue = 1ull<<28,
+ EntityFlag_SwitchValue = 1ull<<29,
+
EntityFlag_Test = 1ull<<30,
EntityFlag_Overridden = 1ull<<63,