From f7b531ebaaa784a0dcebb877ec7b831b324f3510 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 16 Mar 2017 18:37:50 +0000 Subject: Check if function calls work --- c_compiler/src/declaration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c_compiler/src/declaration.cpp') diff --git a/c_compiler/src/declaration.cpp b/c_compiler/src/declaration.cpp index 9faf133..d1a0f69 100644 --- a/c_compiler/src/declaration.cpp +++ b/c_compiler/src/declaration.cpp @@ -102,7 +102,7 @@ std::string Declaration::getId() const return id_; } -std::string Declaration::getType() const +TypePtr Declaration::getType() const { - return type_->getType(); + return type_; } -- cgit