From 9565ea10343b79a07d531b70d3b20f45f43fbd26 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 3 Aug 2008 14:50:13 +0100 Subject: [PATCH] Add some whitespace above component instantiations --- 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 d3b6ae306..f8932d2f0 100644 --- a/tgt-vhdl/vhdl_syntax.cc +++ b/tgt-vhdl/vhdl_syntax.cc @@ -235,6 +235,7 @@ void vhdl_comp_inst::map_port(const char *name, vhdl_expr *expr) void vhdl_comp_inst::emit(std::ostream &of, int level) const { + newline(of, level); emit_comment(of, level); of << inst_name_ << ": " << comp_name_; @@ -257,7 +258,6 @@ void vhdl_comp_inst::emit(std::ostream &of, int level) const } of << ";"; - newline(of, level); } vhdl_component_decl::vhdl_component_decl(const char *name)