diff options
Diffstat (limited to 'c_compiler/src/statement.cpp')
-rw-r--r-- | c_compiler/src/statement.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c_compiler/src/statement.cpp b/c_compiler/src/statement.cpp index af382dc..50217fb 100644 --- a/c_compiler/src/statement.cpp +++ b/c_compiler/src/statement.cpp @@ -150,11 +150,9 @@ VariableStackBindings ExpressionStatement::printasm(VariableStackBindings bindin { if(next_statement != nullptr) next_statement->printasm(bindings); - - if(m_expr != nullptr) { - std::cout << "SHould print" << std::endl; + + if(m_expr != nullptr) m_expr->printasm(bindings); - } return bindings; } |