aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index ee71a0ec28..46c0ba0882 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -392,7 +392,6 @@ struct AstNodeFnCallExpr {
Expr resolved_expr;
FnTableEntry *fn_entry;
CastOp cast_op;
- TypeTableEntry *enum_type;
// if cast_op is CastOpArrayToString, this will be a pointer to
// the string struct on the stack
LLVMValueRef tmp_ptr;
@@ -429,6 +428,7 @@ struct AstNodeFieldAccessExpr {
bool is_fn_call;
TypeTableEntry *bare_struct_type;
bool is_member_fn;
+ AstNode *container_init_expr_node;
};
struct AstNodeDirective {
@@ -665,6 +665,7 @@ struct AstNodeContainerInitExpr {
// populated by semantic analyzer
StructValExprCodeGen resolved_struct_val_expr;
Expr resolved_expr;
+ TypeTableEntry *enum_type;
};
struct AstNodeNullLiteral {