Merge pull request #7265 from harold-b/hb.fix-parser-attrib-misisng-end

Fix unparenthesized attributes missing end position in its AST node
This commit is contained in:
Jeroen van Rijn
2026-08-09 19:49:08 +02:00
committed by GitHub

View File

@@ -1110,6 +1110,7 @@ parse_attribute :: proc(p: ^Parser, tok: tokenizer.Token, open_kind, close_kind:
open, close: tokenizer.Token
if p.curr_tok.kind == .Ident {
close = p.curr_tok
elem := parse_ident(p)
append(&elems, elem)
} else {