aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/statement.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-18 14:34:12 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-18 14:34:12 +0000
commitfac528593e216830c89360f5c6ce64dbe7c5176f (patch)
tree18cbabda0f8bfcec83669de702e1ce3bd2660eda /c_compiler/include/statement.hpp
parenteae17d816ea2aa8075d671635c45d3d6b7891e90 (diff)
downloadCompiler-fac528593e216830c89360f5c6ce64dbe7c5176f.tar.gz
Compiler-fac528593e216830c89360f5c6ce64dbe7c5176f.zip
Broke compound statement
Diffstat (limited to 'c_compiler/include/statement.hpp')
-rw-r--r--c_compiler/include/statement.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_compiler/include/statement.hpp b/c_compiler/include/statement.hpp
index ce96543..121db2c 100644
--- a/c_compiler/include/statement.hpp
+++ b/c_compiler/include/statement.hpp
@@ -131,7 +131,7 @@ private:
ExpressionPtr initializer_;
ExpressionPtr incrementer_;
public:
- ForLoop(Expression* intializer, Expression* condition, Expression* incrementer, Statement* statement);
+ ForLoop(Expression* initializer, Expression* condition, Expression* incrementer, Statement* statement);
virtual VariableStackBindings printAsm(VariableStackBindings bindings, unsigned& label_count) const;
};