Merge pull request #3406 from laytan/bit-field-core-parser

add bit_field to `core:odin`
This commit is contained in:
Jeroen van Rijn
2024-04-10 03:12:40 +02:00
committed by GitHub
7 changed files with 183 additions and 10 deletions
+3 -2
View File
@@ -597,8 +597,9 @@ type_info_core :: proc "contextless" (info: ^Type_Info) -> ^Type_Info {
base := info
loop: for {
#partial switch i in base.variant {
case Type_Info_Named: base = i.base
case Type_Info_Enum: base = i.base
case Type_Info_Named: base = i.base
case Type_Info_Enum: base = i.base
case Type_Info_Bit_Field: base = i.backing_type
case: break loop
}
}