mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-04 19:34:42 -04:00
Change parser to use ^Expr rather than string for the foreign import paths
This commit is contained in:
1 parent
a1b8749e74
commit
d91054b615
3 files changed
+8
-6
No files matched your search
+1
-1
@@ -4894,7 +4894,7 @@ gb_internal Ast *parse_foreign_decl(AstFile *f) {
|
||||
while (f->curr_token.kind != Token_CloseBrace &&
|
||||
f->curr_token.kind != Token_EOF) {
|
||||
|
||||
Ast *path = parse_expr(f, true);
|
||||
Ast *path = parse_expr(f, false);
|
||||
array_add(&filepaths, path);
|
||||
|
||||
if (!allow_field_separator(f)) {
|
||||
|
||||
Reference in new issue
Block a user