Nested record declarations

This commit is contained in:
Ginger Bill
2017-07-10 20:39:42 +01:00
parent 069a47220e
commit ce4b7b8b7d
7 changed files with 222 additions and 92 deletions
+3
View File
@@ -34,6 +34,8 @@ CallingConvention :: enum {
}
// IMPORTANT NOTE(bill): Do not change the order of any of this data
// The compiler relies upon this _exact_ order
TypeInfoEnumValue :: raw_union {
f: f64;
i: i128;
@@ -49,6 +51,7 @@ TypeInfoRecord :: struct #ordered {
custom_align: bool;
}
TypeInfo :: union {
size: int;
align: int;