Fix missing closing brace for Bit_Field in core:odin/parser

This commit is contained in:
Rikard Petré
2024-08-06 19:48:38 +02:00
parent bed18a17e6
commit 6a6f078186
+1 -1
View File
@@ -2845,7 +2845,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
close := expect_closing_brace_of_field_list(p)
bf := ast.new(ast.Bit_Field_Type, tok.pos, close.pos)
bf := ast.new(ast.Bit_Field_Type, tok.pos, end_pos(close))
bf.tok_pos = tok.pos
bf.backing_type = backing_type