Use ivl_process_* functions for file/line number information

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

View File

@ -69,8 +69,8 @@ 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) << ":"
<< ivl_scope_lineno(scope) << ")";
<< ivl_process_file(proc) << ":"
<< ivl_process_lineno(proc) << ")";
vhdl_proc->set_comment(ss.str());
set_active_entity(NULL);