summaryrefslogtreecommitdiff
path: root/src/resolve/absolute.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-04-30 12:22:55 +0800
committerJohn Hodge <tpg@mutabah.net>2016-04-30 12:22:55 +0800
commit8f694dbd8ee7b0ea786229642b994a6d00cbe478 (patch)
treef5f7cdc4c0e70d6a239316d68ce13403248c04d1 /src/resolve/absolute.cpp
parentf5c9ee756d97fb8c02fd74faeab7a50907de6690 (diff)
downloadmrust-8f694dbd8ee7b0ea786229642b994a6d00cbe478.tar.gz
Resolve - Include (stubbed) 'Absolutise' pass
Diffstat (limited to 'src/resolve/absolute.cpp')
-rw-r--r--src/resolve/absolute.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
new file mode 100644
index 00000000..dd0c5f0d
--- /dev/null
+++ b/src/resolve/absolute.cpp
@@ -0,0 +1,16 @@
+/*
+ * Convert all paths in AST into absolute form (or to the relevant local item)
+ *
+ * After complete there should be no:
+ * - Relative/super/self paths
+ * - MaybeBind patterns
+ */
+#include <ast/crate.hpp>
+#include <main_bindings.hpp>
+
+void Resolve_Absolutise(AST::Crate& crate)
+{
+ TODO(Span(), "Run 'absolutise' resolve pass");
+}
+
+