From fdd6ff07cee824078c5315bf07926ee15bbdde85 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 6 Mar 2017 17:37:51 +0000 Subject: making changes to type in lexer now --- c_compiler/include/function.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c_compiler/include/function.hpp') diff --git a/c_compiler/include/function.hpp b/c_compiler/include/function.hpp index edfb958..967c9d8 100644 --- a/c_compiler/include/function.hpp +++ b/c_compiler/include/function.hpp @@ -4,6 +4,12 @@ #include "ast.hpp" +struct VarLocation { + Type* type; + int32_t stack_position; +}; + + class Function : public Node { protected: Type* type; -- cgit