Fix to bl.tok = path
This commit is contained in:
1 parent
dc6a8e5ffb
commit
0ef0894213
1 file changed
+1
-1
@@ -1204,7 +1204,7 @@ parse_foreign_decl :: proc(p: ^Parser) -> ^ast.Decl {
|
|||||||
path := expect_token(p, .String)
|
path := expect_token(p, .String)
|
||||||
reserve(&fullpaths, 1)
|
reserve(&fullpaths, 1)
|
||||||
bl := ast.new(ast.Basic_Lit, path.pos, end_pos(path))
|
bl := ast.new(ast.Basic_Lit, path.pos, end_pos(path))
|
||||||
bl.tok = tok
|
bl.tok = path
|
||||||
append(&fullpaths, bl)
|
append(&fullpaths, bl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user