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 --- types.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'types.hpp') diff --git a/types.hpp b/types.hpp index ef540a93..02355d66 100644 --- a/types.hpp +++ b/types.hpp @@ -3,7 +3,10 @@ #include #include "coretypes.hpp" -#include "ast/ast.hpp" + +namespace AST { +class Expr; +} class TypeRef { @@ -22,7 +25,7 @@ public: struct TagPointer {}; TypeRef(TagPointer _, bool is_mut, TypeRef inner_type) {} struct TagSizedArray {}; - TypeRef(TagSizedArray _, TypeRef inner_type, AST::Expr size) {} + TypeRef(TagSizedArray _, TypeRef inner_type, AST::Expr size); struct TagUnsizedArray {}; TypeRef(TagUnsizedArray _, TypeRef inner_type) {} -- cgit v1.2.3