summaryrefslogtreecommitdiff
path: root/src/ast/expr.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-13 08:55:41 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-13 08:55:41 +0800
commitdf7f0e6e1b384496a0d198557d73359085f46d47 (patch)
treefb47db407071d0455e37857542cfb46bde9263e4 /src/ast/expr.hpp
parentbc389f78562198ca5afd7c89c880da1212aa4720 (diff)
downloadmrust-df7f0e6e1b384496a0d198557d73359085f46d47.tar.gz
Parse - Store module path in module
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r--src/ast/expr.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ast/expr.hpp b/src/ast/expr.hpp
index 30f1a2a9..214be267 100644
--- a/src/ast/expr.hpp
+++ b/src/ast/expr.hpp
@@ -55,15 +55,15 @@ struct ExprNode_Block:
public ExprNode
{
bool m_is_unsafe;
- ::std::unique_ptr<Module> m_inner_mod;
+ ::std::unique_ptr<AST::Module> m_local_mod;
::std::vector< ::std::unique_ptr<ExprNode> > m_nodes;
ExprNode_Block():
m_is_unsafe(false)
{}
- ExprNode_Block(::std::vector< ::std::unique_ptr<ExprNode> >&& nodes, ::std::unique_ptr<Module> inner_mod):
+ ExprNode_Block(::std::vector< ::std::unique_ptr<ExprNode> >&& nodes, ::std::unique_ptr<AST::Module> local_mod):
m_is_unsafe(false),
- m_inner_mod( move(inner_mod) ),
+ m_local_mod( move(local_mod) ),
m_nodes( move(nodes) )
{
}