summaryrefslogtreecommitdiff
path: root/ast/ast.cpp
diff options
context:
space:
mode:
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()
{