aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-05-28 12:18:15 +0100
committerGitHub <noreply@github.com>2024-05-28 12:18:15 +0100
commit74524b6050d340840fcd636cd94b48e4187695aa (patch)
tree217644e5ec4c7fa35baca19d68392e6c67069033 /src/parser.hpp
parent23852c16be2ed8ae1618c1d951c9904eb40a4198 (diff)
parentd91054b615e5e185ded106e4903cdd66b2c4f582 (diff)
Merge pull request #3644 from odin-lang/foreign-import-improvements
Allow `foreign import` import paths to be evaluated in the semantic phase rather than parsing
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 5820275c8..0e411d9ac 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -631,7 +631,8 @@ AST_KIND(_DeclBegin, "", bool) \
}) \
AST_KIND(ForeignImportDecl, "foreign import declaration", struct { \
Token token; \
- Slice<Token> filepaths; \
+ Slice<Ast *> filepaths; \
+ bool multiple_filepaths; \
Token library_name; \
String collection_name; \
Slice<String> fullpaths; \