mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 09:44:26 +00:00
Fix unparenthesized attributes missing end position in its AST node
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user