aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/statement.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-03 22:19:32 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-03 22:19:32 +0000
commit46c70f9c2dca832ba84472dbbe09064b57710b45 (patch)
treed5c0ac0f1bc53a7f26b760b8ab63f1fc163a378b /c_compiler/include/statement.hpp
parentee069912377bf8f5069489e527af642953d5883d (diff)
downloadCompiler-46c70f9c2dca832ba84472dbbe09064b57710b45.tar.gz
Compiler-46c70f9c2dca832ba84472dbbe09064b57710b45.zip
Kind of working
Diffstat (limited to 'c_compiler/include/statement.hpp')
-rw-r--r--c_compiler/include/statement.hpp11
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