Change format of line file/line numbers

This commit is contained in:
Nick Gasson 2008-08-02 10:42:00 +01:00
parent 1cd13ecdbd
commit 5d0df8d880
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ static int generate_vhdl_process(vhdl_entity *ent, ivl_process_t proc)
std::ostringstream ss;
ss << "Generated from " << type << " process in "
<< ivl_scope_tname(scope) << " ("
<< ivl_scope_file(scope) << " line "
<< ivl_scope_file(scope) << ":"
<< ivl_scope_lineno(scope) << ")";
vhdl_proc->set_comment(ss.str());

View File

@ -557,7 +557,7 @@ static void create_skeleton_entity_for(ivl_scope_t scope)
// Build a comment to add to the entity/architecture
ostringstream ss;
ss << "Generated from Verilog module " << ivl_scope_tname(scope)
<< " (" << ivl_scope_file(scope) << " line "
<< " (" << ivl_scope_file(scope) << ":"
<< ivl_scope_lineno(scope) << ")";
arch->set_comment(ss.str());