summaryrefslogtreecommitdiff
path: root/ast/ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge (bugs) <tpg@mutabah.net>2014-12-14 10:03:30 +0800
committerJohn Hodge (bugs) <tpg@mutabah.net>2014-12-14 10:03:30 +0800
commit5d29fdaa42c638e9420bd3111fb15f3594342354 (patch)
treed1c3ce2d13751c6ee23b92b44fc7053c681d4a3d /ast/ast.cpp
parent605c764a79ed00630967780ee7d434fbaa8aa284 (diff)
downloadmrust-5d29fdaa42c638e9420bd3111fb15f3594342354.tar.gz
Parse working, starting on conversion
Diffstat (limited to 'ast/ast.cpp')
-rw-r--r--ast/ast.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ast/ast.cpp b/ast/ast.cpp
index ffe485cb..575d3c60 100644
--- a/ast/ast.cpp
+++ b/ast/ast.cpp
@@ -3,6 +3,7 @@
#include "ast.hpp"
#include "../types.hpp"
#include <iostream>
+#include "../parse/parseerror.hpp"
namespace AST {
@@ -69,6 +70,11 @@ void Module::add_impl(Impl impl)
{
}
+void Expr::visit_nodes(const NodeVisitor& v)
+{
+ throw ParseError::Todo("Expr::visit_nodes");
+}
+
ExprNode::ExprNode()
{