aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/declaration.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-16 21:24:02 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-16 21:24:02 +0000
commit4858aa179ddc6044c55c8ae8708a76af3e287b05 (patch)
treef9bcc54ed13720c8a74a5dd726ecfdea083a7e28 /c_compiler/include/declaration.hpp
parentf7b531ebaaa784a0dcebb877ec7b831b324f3510 (diff)
downloadCompiler-4858aa179ddc6044c55c8ae8708a76af3e287b05.tar.gz
Compiler-4858aa179ddc6044c55c8ae8708a76af3e287b05.zip
function calls now work completely
Diffstat (limited to 'c_compiler/include/declaration.hpp')
-rw-r--r--c_compiler/include/declaration.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/c_compiler/include/declaration.hpp b/c_compiler/include/declaration.hpp
index f98c495..8c4fc25 100644
--- a/c_compiler/include/declaration.hpp
+++ b/c_compiler/include/declaration.hpp
@@ -31,6 +31,7 @@ public:
void linkListDeclaration(Declaration* next_list_declaration);
void setType(Type* type);
+ void setInitializer(Expression* initializer);
DeclarationPtr getNext() const;
DeclarationPtr getNextListItem() const;