aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-22 19:41:48 +0000
committergingerBill <bill@gingerbill.org>2024-02-22 19:41:48 +0000
commit54515af8ccff67cae71982d1bbf5bd1c31628af3 (patch)
treef0f571e7c041ce645805d6fdf444aaeb24289ff8 /src/types.cpp
parent3f193d7446c971175dd7a27154af1068767034bc (diff)
Add field tags to `bit_field`
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp
index eac834f25..90cb130b6 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -286,6 +286,7 @@ struct TypeProc {
Scope * scope; \
Type * backing_type; \
Slice<Entity *> fields; \
+ String * tags; /*count == fields.count*/ \
Slice<u8> bit_sizes; \
Slice<i64> bit_offsets; \
Ast * node; \