summaryrefslogtreecommitdiff
path: root/src/hir
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir')
-rw-r--r--src/hir/from_ast.cpp2
-rw-r--r--src/hir/hir.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 7ab503cf..9595ca02 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -20,7 +20,7 @@
// - Extract macros from root module
for( const auto& mac : crate.m_root_module.macros() ) {
//if( mac.data.export ) {
- macros.insert( ::std::make_pair( mac.name, mac.data ) );
+ macros.insert( ::std::make_pair( mac.name, mv$(*mac.data) ) );
//}
}
for( const auto& mac : crate.m_root_module.macro_imports_res() ) {
diff --git a/src/hir/hir.hpp b/src/hir/hir.hpp
index ff0d82a9..cc63626f 100644
--- a/src/hir/hir.hpp
+++ b/src/hir/hir.hpp
@@ -12,7 +12,7 @@
#include <tagged_union.hpp>
-#include <macros.hpp> // DAMNIT - Why can't I have it be incomplete
+#include <macro_rules/macro_rules.hpp> // DAMNIT - Why can't I have it be incomplete
#include <hir/type.hpp>
#include <hir/path.hpp>