diff options
author | John Hodge (bugs) <tpg@mutabah.net> | 2014-12-14 10:03:30 +0800 |
---|---|---|
committer | John Hodge (bugs) <tpg@mutabah.net> | 2014-12-14 10:03:30 +0800 |
commit | 5d29fdaa42c638e9420bd3111fb15f3594342354 (patch) | |
tree | d1c3ce2d13751c6ee23b92b44fc7053c681d4a3d /ast/ast.cpp | |
parent | 605c764a79ed00630967780ee7d434fbaa8aa284 (diff) | |
download | mrust-5d29fdaa42c638e9420bd3111fb15f3594342354.tar.gz |
Parse working, starting on conversion
Diffstat (limited to 'ast/ast.cpp')
-rw-r--r-- | ast/ast.cpp | 6 |
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()
{
|