Emit loop statements with the correct indent

This commit is contained in:
Nick Gasson 2008-06-23 12:27:30 +01:00
parent 9911939576
commit d06f5c7c54
1 changed files with 1 additions and 1 deletions

View File

@ -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;";
}