diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin index e213f900e..84481b654 100644 --- a/core/odin/parser/parser.odin +++ b/core/odin/parser/parser.odin @@ -2805,11 +2805,6 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr { } p.expr_level = prev_level - if is_raw_union && is_packed { - is_packed = false - error(p, tok.pos, "'#raw_union' cannot also be '#packed") - } - if is_raw_union && is_all_or_none { is_all_or_none = false error(p, tok.pos, "'#raw_union' cannot also be '#all_or_none") diff --git a/src/parser.cpp b/src/parser.cpp index 60e5ac9e1..14258b5c6 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2894,10 +2894,6 @@ gb_internal Ast *parse_operand(AstFile *f, bool lhs) { f->expr_level = prev_level; - if (is_raw_union && is_packed) { - is_packed = false; - syntax_error(token, "'#raw_union' cannot also be '#packed'"); - } if (is_raw_union && is_all_or_none) { is_all_or_none = false; syntax_error(token, "'#raw_union' cannot also be '#all_or_none'");