mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 12:18:15 +00:00
Correct the Array_Type.len comment and assign tok when making Ellipsis node
This commit is contained in:
@@ -1778,6 +1778,7 @@ parse_var_type :: proc(p: ^Parser, flags: ast.Field_Flags) -> ^ast.Expr {
|
||||
type = ast.new(ast.Bad_Expr, tok.pos, end_pos(tok))
|
||||
}
|
||||
e := ast.new(ast.Ellipsis, type.pos, type)
|
||||
e.tok = tok.kind
|
||||
e.expr = type
|
||||
return e
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user