diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-03 16:24:07 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-03 16:24:07 +0000 |
commit | 522cc9d286c5d35ca25ebaa85374f5f9214a7f6e (patch) | |
tree | e4c944cce2fcd736834e35d8e5d06f984b57a976 /c_compiler/include/expression.hpp | |
parent | 446c2394ec8970198d645bbbb462c67b9e3f1b1e (diff) | |
download | Compiler-522cc9d286c5d35ca25ebaa85374f5f9214a7f6e.tar.gz Compiler-522cc9d286c5d35ca25ebaa85374f5f9214a7f6e.zip |
Still working on ast
Diffstat (limited to 'c_compiler/include/expression.hpp')
-rw-r--r-- | c_compiler/include/expression.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c_compiler/include/expression.hpp b/c_compiler/include/expression.hpp index 9eb9efd..1e2bf04 100644 --- a/c_compiler/include/expression.hpp +++ b/c_compiler/include/expression.hpp @@ -6,11 +6,9 @@ class Expression : public BaseNode { private: public: - Expression() : BaseNode() {} + Expression(const Base* expr = new EmptyNode); - virtual void print() const override {} - virtual void printxml() const override {} - virtual void printasm() const override {} + virtual void printasm() const override; }; #endif |