mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Add bit_field option to core_type in the compiler
This commit is contained in:
@@ -932,6 +932,9 @@ gb_internal Type *core_type(Type *t) {
|
|||||||
case Type_Enum:
|
case Type_Enum:
|
||||||
t = t->Enum.base_type;
|
t = t->Enum.base_type;
|
||||||
continue;
|
continue;
|
||||||
|
case Type_BitField:
|
||||||
|
t = t->BitField.backing_type;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user