aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/src/type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/src/type.cpp')
-rw-r--r--c_compiler/src/type.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/c_compiler/src/type.cpp b/c_compiler/src/type.cpp
index 13496e9..6a89e2a 100644
--- a/c_compiler/src/type.cpp
+++ b/c_compiler/src/type.cpp
@@ -1,4 +1,7 @@
-#include "ast.hpp"
+#include "type.hpp"
+#include "bindings.hpp"
+
+#include <iostream>
// Type definition
@@ -11,8 +14,10 @@ void Type::print() const
void Type::printxml() const
{}
-void Type::printasm(VariableStackBindings bindings, int32_t& var_count) const
-{}
+VariableStackBindings Type::printasm(VariableStackBindings bindings) const
+{
+ return bindings;
+}
// Pointer definition