mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-01 10:34:41 +00:00
Add general support for bit_fields
This commit is contained in:
@@ -429,6 +429,7 @@ AST_KIND(_ExprBegin, "", bool) \
|
||||
Ast *expr, *selector; \
|
||||
u8 swizzle_count; /*maximum of 4 components, if set, count >= 2*/ \
|
||||
u8 swizzle_indices; /*2 bits per component*/ \
|
||||
bool is_bit_field; \
|
||||
}) \
|
||||
AST_KIND(ImplicitSelectorExpr, "implicit selector expression", struct { Token token; Ast *selector; }) \
|
||||
AST_KIND(SelectorCallExpr, "selector call expression", struct { \
|
||||
|
||||
Reference in New Issue
Block a user