mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
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:
@@ -2845,7 +2845,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
|
|||||||
|
|
||||||
close := expect_closing_brace_of_field_list(p)
|
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.tok_pos = tok.pos
|
||||||
bf.backing_type = backing_type
|
bf.backing_type = backing_type
|
||||||
|
|||||||
Reference in New Issue
Block a user