diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-16 18:37:50 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-16 18:37:50 +0000 |
commit | f7b531ebaaa784a0dcebb877ec7b831b324f3510 (patch) | |
tree | acc733a0ac5732799e6d0cc47a30da31e96e57fd /c_compiler/src/declaration.cpp | |
parent | 9ab7f5825f225cb42a6a0e8950f841a10db82f1b (diff) | |
download | Compiler-f7b531ebaaa784a0dcebb877ec7b831b324f3510.tar.gz Compiler-f7b531ebaaa784a0dcebb877ec7b831b324f3510.zip |
Check if function calls work
Diffstat (limited to 'c_compiler/src/declaration.cpp')
-rw-r--r-- | c_compiler/src/declaration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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_; } |