mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 15:23:15 +00:00
Fix to bl.tok = path
This commit is contained in:
@@ -1204,7 +1204,7 @@ parse_foreign_decl :: proc(p: ^Parser) -> ^ast.Decl {
|
||||
path := expect_token(p, .String)
|
||||
reserve(&fullpaths, 1)
|
||||
bl := ast.new(ast.Basic_Lit, path.pos, end_pos(path))
|
||||
bl.tok = tok
|
||||
bl.tok = path
|
||||
append(&fullpaths, bl)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user