aboutsummaryrefslogtreecommitdiff
path: root/boot/ast.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-08 19:45:19 +0200
committerEugen Wissner <belka@caraus.de>2026-10-08 19:45:19 +0200
commit7d07bef760a8807fe49fbe5c90799a1822f95973 (patch)
tree8b8d8ed0003dc61c4bd7313df86f6cbaea3d4b82 /boot/ast.cc
parentd392f0c54a7748b816ab327758ae835f73cd1c0a (diff)
downloadelna-7d07bef760a8807fe49fbe5c90799a1822f95973.tar.gz
Make modules re-exportable
Diffstat (limited to 'boot/ast.cc')
-rw-r--r--boot/ast.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot/ast.cc b/boot/ast.cc
index 69b15d3..456797a 100644
--- a/boot/ast.cc
+++ b/boot/ast.cc
@@ -1681,8 +1681,9 @@ namespace elna::boot
delete this->alternative;
}
- import_declaration::import_declaration(const source_position position, std::vector<std::string>&& segments)
- : node(position), segments(std::move(segments))
+ import_declaration::import_declaration(const source_position position, std::vector<std::string>&& segments,
+ const bool exported)
+ : node(position), segments(std::move(segments)), exported(exported)
{
}