diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-24 22:46:06 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-24 22:46:06 +0000 |
commit | b8738b8d582cba01aa1e944426b0251c9c42ff37 (patch) | |
tree | 7cebba0d549624fe40ca737178231fb52bd980fb /c_compiler/include/type.hpp | |
parent | 42156b87d0bc78eb8bac2c0e1cb41f105bbfc32b (diff) | |
download | Compiler-b8738b8d582cba01aa1e944426b0251c9c42ff37.tar.gz Compiler-b8738b8d582cba01aa1e944426b0251c9c42ff37.zip |
Able to store arrays
Diffstat (limited to 'c_compiler/include/type.hpp')
-rw-r--r-- | c_compiler/include/type.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_compiler/include/type.hpp b/c_compiler/include/type.hpp index 8c881c1..8c22ab8 100644 --- a/c_compiler/include/type.hpp +++ b/c_compiler/include/type.hpp @@ -34,7 +34,7 @@ private: int size_; TypePtr type_; public: - Array(const int &size, TypePtr type_); + Array(const int &size, TypePtr type_ = nullptr); virtual void print() const; virtual void printXml() const; |