mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +00:00
Change parser to use ^Expr rather than string for the foreign import paths
This commit is contained in:
@@ -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