diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-23 09:35:44 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-23 09:35:44 +0000 |
commit | 0a74a6393cc45c3e12fbc316fbb440dcea14740d (patch) | |
tree | fbd698cf21cae44d510bd4614c1ea1af7c9a424e /c_compiler/include/statement.hpp | |
parent | ffb5df0e59d93fd5322ef02e337f713ed56c262f (diff) | |
download | Compiler-0a74a6393cc45c3e12fbc316fbb440dcea14740d.tar.gz Compiler-0a74a6393cc45c3e12fbc316fbb440dcea14740d.zip |
Doing arrays
Diffstat (limited to 'c_compiler/include/statement.hpp')
-rw-r--r-- | c_compiler/include/statement.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c_compiler/include/statement.hpp b/c_compiler/include/statement.hpp index a34e22d..ed45973 100644 --- a/c_compiler/include/statement.hpp +++ b/c_compiler/include/statement.hpp @@ -30,7 +30,6 @@ public: virtual void countExpressionDepth(unsigned &depth_count) const = 0; virtual int constantFold() const; - virtual StatementPtr getStatementList() const; virtual ExpressionPtr getExpression() const; virtual bool isDefault() const; @@ -95,7 +94,8 @@ public: virtual void countVariables(unsigned &var_count) const; virtual void countArguments(unsigned &argument_count) const; virtual void countExpressionDepth(unsigned &depth_count) const; - virtual StatementPtr getStatementList() const; + + StatementPtr getStatementList() const; }; class IfElseStatement : public Statement |