diff options
author | ymherklotz <ymherklotz@gmail.com> | 2017-03-10 15:23:46 +0000 |
---|---|---|
committer | ymherklotz <ymherklotz@gmail.com> | 2017-03-10 15:23:46 +0000 |
commit | b751d9ade81f47d75a5dc16f40890f30a6a1d1c5 (patch) | |
tree | d2ff52856eff330ad2b9df60d88884c2a73569e1 /c_compiler/include/declaration.hpp | |
parent | 21c873789eda041f7004d12637be3f3ed6f4cebc (diff) | |
download | Compiler-b751d9ade81f47d75a5dc16f40890f30a6a1d1c5.tar.gz Compiler-b751d9ade81f47d75a5dc16f40890f30a6a1d1c5.zip |
Got variables and bindings kind of working
Diffstat (limited to 'c_compiler/include/declaration.hpp')
-rw-r--r-- | c_compiler/include/declaration.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_compiler/include/declaration.hpp b/c_compiler/include/declaration.hpp index 8226090..5780bd9 100644 --- a/c_compiler/include/declaration.hpp +++ b/c_compiler/include/declaration.hpp @@ -15,7 +15,7 @@ private: Declaration* list_next_decl; public: - Declaration(const std::string& _id = ""); + Declaration(const std::string& _id = "", Expression* _init = nullptr); virtual void print() const; virtual void printxml() const; |