summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.h b/types.h
index 9028624..a0ef8f9 100644
--- a/types.h
+++ b/types.h
@@ -1047,6 +1047,7 @@ typedef struct Evaluator {
Declaration **decls_given_values; // array of declarations whose last value in their val stacks should be removed when the block is exited
Value ret_val;
ForeignFnManager ffmgr;
+ bool evaluating_struct_member_type; // we only allow references to future structs if it's within another struct (so that circularly dependent structs can exist). hence, this keeps track of if we're evaluating the type of a declaration inside a struct.
} Evaluator;