summaryrefslogtreecommitdiff
path: root/src/ast
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-01-01 11:32:39 +0800
committerJohn Hodge <tpg@mutabah.net>2019-01-01 11:32:39 +0800
commit2f0ddfaf240c0269087d307b6df6bc00817e6806 (patch)
tree4810960698dfdbe9ac43a7d0f3abf915002e2122 /src/ast
parentbe34ee650255d6bd5bb2b853c9dbdea5126672ab (diff)
downloadmrust-2f0ddfaf240c0269087d307b6df6bc00817e6806.tar.gz
Parse - Module Loading - Hopefully fix libcore without breaking other crates
Diffstat (limited to 'src/ast')
-rw-r--r--src/ast/ast.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index b80b5fb7..493b397c 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -517,7 +517,11 @@ public:
struct FileInfo
{
bool controls_dir = false;
+ bool force_no_load = false;
+ // Path to this module
::std::string path = "!";
+ // Directory controlled by this module
+ ::std::string dir = "";
};
FileInfo m_file_info;