diff options
Diffstat (limited to 'c_compiler/include/statement.hpp')
-rw-r--r-- | c_compiler/include/statement.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/c_compiler/include/statement.hpp b/c_compiler/include/statement.hpp index e715937..ee4887a 100644 --- a/c_compiler/include/statement.hpp +++ b/c_compiler/include/statement.hpp @@ -6,9 +6,16 @@ class Statement : public Node { public: - Statement(const Node* _left = new EmptyNode, const Node* _right = new EmptyNode); + //Statement(const Node* _left = new EmptyNode, const Node* _right = new EmptyNode); + Statement() {} + + virtual void print() const {} + virtual void printxml() const {} + virtual void printasm() const {} }; +/* + class CompoundStatement : public Statement { public: CompoundStatement(const Node* _dec = new EmptyNode, const Node* _statement = new EmptyNode); @@ -38,4 +45,6 @@ public: IterationStatement(const Node* _el); }; +*/ + #endif |