From 0eaf7bd830dcda6e00f80eefed36bdf7beb02d5d Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 30 Aug 2016 00:04:14 +0100 Subject: Begin "Everything's a namespace" --- src/checker/type.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/checker/type.cpp') diff --git a/src/checker/type.cpp b/src/checker/type.cpp index 26bb2dc40..bd1ff223e 100644 --- a/src/checker/type.cpp +++ b/src/checker/type.cpp @@ -110,6 +110,9 @@ struct Type { i64 * offsets; b32 are_offsets_set; b32 is_packed; + + Entity **other_fields; // Entity_Constant or Entity_TypeName + isize other_field_count; } Struct; struct { // IMPORTANT HACK(bill): The positions of fields and field_count -- cgit v1.2.3