Merge pull request #6031 from krnowak/krnowak/packed-all-or-none

Fix #packed #all_or_none
This commit is contained in:
gingerBill
2025-12-21 20:21:24 +00:00
committed by GitHub

View File

@@ -2803,7 +2803,7 @@ gb_internal Ast *parse_operand(AstFile *f, bool lhs) {
}
is_packed = true;
} else if (tag.string == "all_or_none") {
if (is_packed) {
if (is_all_or_none) {
syntax_error(tag, "Duplicate struct tag '#%.*s'", LIT(tag.string));
}
is_all_or_none = true;