mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 10:22:23 -07:00
bit_set support in debug symbols by treating them like a bit field of 1 bit booleans
This commit is contained in:
@@ -976,6 +976,7 @@ bool is_type_valid_bit_set_range(Type *t) {
|
||||
void check_bit_set_type(CheckerContext *c, Type *type, Type *named_type, Ast *node) {
|
||||
ast_node(bs, BitSetType, node);
|
||||
GB_ASSERT(type->kind == Type_BitSet);
|
||||
type->BitSet.node = node;
|
||||
|
||||
i64 const DEFAULT_BITS = cast(i64)(8*build_context.word_size);
|
||||
i64 const MAX_BITS = 128;
|
||||
|
||||
Reference in New Issue
Block a user