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

add bit_field to `core:odin`
This commit is contained in:
Jeroen van Rijn authored and GitHub committed 2024-04-10 03:12:40 +02:00
commit 8a6a3e883c
7 files changed
+183 -10

No files matched your search

+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
}
}