aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-05-28 00:27:13 +0100
committergingerBill <bill@gingerbill.org>2024-05-28 00:27:13 +0100
commitd91054b615e5e185ded106e4903cdd66b2c4f582 (patch)
treefef4b239b2c8391f0f0d82cac579b573a1609a6c /src/parser.cpp
parenta1b8749e74639875467cba56b0ab02c342870338 (diff)
Change parser to use `^Expr` rather than `string` for the foreign import paths
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 7e72f3c21..c004a8f65 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -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)) {