Change parser to use ^Expr rather than string for the foreign import paths

This commit is contained in:
gingerBill
2024-05-28 00:27:13 +01:00
parent a1b8749e74
commit d91054b615
3 changed files with 8 additions and 6 deletions

View File

@@ -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)) {