diff options
author | John Hodge <tpg@mutabah.net> | 2016-04-30 12:22:55 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-04-30 12:22:55 +0800 |
commit | 8f694dbd8ee7b0ea786229642b994a6d00cbe478 (patch) | |
tree | f5f7cdc4c0e70d6a239316d68ce13403248c04d1 /src/resolve/absolute.cpp | |
parent | f5c9ee756d97fb8c02fd74faeab7a50907de6690 (diff) | |
download | mrust-8f694dbd8ee7b0ea786229642b994a6d00cbe478.tar.gz |
Resolve - Include (stubbed) 'Absolutise' pass
Diffstat (limited to 'src/resolve/absolute.cpp')
-rw-r--r-- | src/resolve/absolute.cpp | 16 |
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"); +} + + |