diff options
| author | gingerBill <bill@gingerbill.org> | 2024-06-03 22:55:24 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-06-03 22:55:24 +0100 |
| commit | 0ef0894213f9b44e748bcdc965eedaaeb13dcc7f (patch) | |
| tree | 1dbd6357a3a1c6bedbd1a7ae50371377aa526f6f | |
| parent | dc6a8e5ffbf86cd41b526d443be7a7f0a042b802 (diff) | |
Fix to `bl.tok = path`
| -rw-r--r-- | core/odin/parser/parser.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin index 813585ba4..ad5ee9087 100644 --- a/core/odin/parser/parser.odin +++ b/core/odin/parser/parser.odin @@ -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) } |