aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'c_compiler/include/ast.hpp')
-rw-r--r--c_compiler/include/ast.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/c_compiler/include/ast.hpp b/c_compiler/include/ast.hpp
index 86c9934..cea7e82 100644
--- a/c_compiler/include/ast.hpp
+++ b/c_compiler/include/ast.hpp
@@ -4,6 +4,12 @@
#include <vector>
#include <string>
#include <iostream>
+#include <map>
+#include <cstdint>
+
+struct VarLocation;
+
+typedef std::map<std::string, VarLocation> VariableStack;
#include "node.hpp"
#include "expression.hpp"