From 5d29fdaa42c638e9420bd3111fb15f3594342354 Mon Sep 17 00:00:00 2001 From: "John Hodge (bugs)" Date: Sun, 14 Dec 2014 10:03:30 +0800 Subject: Parse working, starting on conversion --- ast/ast.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ast/ast.cpp') 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 +#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() { -- cgit v1.2.3