aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-02-26 22:53:40 +0000
committergingerBill <bill@gingerbill.org>2020-02-26 22:53:40 +0000
commit3d74c2f6c0797345c2bdfae77c619057227e8181 (patch)
tree4dd52d97f21a46b1ad6c57c9625344202bb7281d /src/entity.cpp
parent1596bca92d4d8b3457cbfacec24e2a2129bba40e (diff)
Add `proc(#const x: Type)` to enforce a constant parameter (but not polymorphic) to a procedure
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 8273af3f1..b89522b07 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -46,6 +46,7 @@ enum EntityFlag {
EntityFlag_BitFieldValue = 1<<12,
EntityFlag_PolyConst = 1<<13,
EntityFlag_NotExported = 1<<14,
+ EntityFlag_ConstInput = 1<<15,
EntityFlag_Static = 1<<16,