Add bit_field option to core_type in the compiler
This commit is contained in:
1 parent
6d5b1800fe
commit
4bb7cd5e4b
1 file changed
+3
@@ -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