From d06f5c7c54283de70aa25a83ebdf94726737aa46 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Mon, 23 Jun 2008 12:27:30 +0100 Subject: [PATCH] Emit loop statements with the correct indent --- tgt-vhdl/vhdl_syntax.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgt-vhdl/vhdl_syntax.cc b/tgt-vhdl/vhdl_syntax.cc index a1934b794..555f40aa1 100644 --- a/tgt-vhdl/vhdl_syntax.cc +++ b/tgt-vhdl/vhdl_syntax.cc @@ -842,6 +842,6 @@ void vhdl_while_stmt::emit(std::ofstream &of, int level) const of << "while "; test_->emit(of, level); of << " loop"; - stmts_.emit(of, indent(level)); + stmts_.emit(of, level); of << "end loop;"; }