Merge pull request #4031 from RilleP/bit-field-closing-brace-fix

Fix missing closing brace for Bit_Field in core:odin/parser
This commit is contained in:
Laytan
2024-08-06 20:49:49 +02:00
committed by GitHub

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