aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/declaration.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-16 15:14:26 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-16 15:14:26 +0000
commit03e21a7ef589fa52d27eab85d669ca854e8ac2b8 (patch)
tree4dec7c89693c74e268756ce156ea6cdac3a41722 /c_compiler/include/declaration.hpp
parent667a766552e2002ae7cf7969d78aaeba906d3759 (diff)
downloadCompiler-03e21a7ef589fa52d27eab85d669ca854e8ac2b8.tar.gz
Compiler-03e21a7ef589fa52d27eab85d669ca854e8ac2b8.zip
Still works and added correct frame size
Diffstat (limited to 'c_compiler/include/declaration.hpp')
-rw-r--r--c_compiler/include/declaration.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/c_compiler/include/declaration.hpp b/c_compiler/include/declaration.hpp
index 4fe754a..391438f 100644
--- a/c_compiler/include/declaration.hpp
+++ b/c_compiler/include/declaration.hpp
@@ -2,15 +2,13 @@
#define AST_DECLARATION_HPP
#include "node.hpp"
+#include "type.hpp"
+#include "expression.hpp"
#include <memory>
-class Expression;
-class Type;
class Declaration;
-typedef std::shared_ptr<Expression> ExpressionPtr;
-typedef std::shared_ptr<Type> TypePtr;
typedef std::shared_ptr<Declaration> DeclarationPtr;