From c2f622327f3bfbd0e3d78b7cfd09cb22f01dce7a Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 3 Aug 2008 14:34:41 +0100 Subject: [PATCH] Use ivl_scope_def_* for definition file/line numbers --- tgt-vhdl/scope.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 530b8a147..c5a381fa1 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -572,8 +572,8 @@ 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) << ":" - << ivl_scope_lineno(scope) << ")"; + << " (" << ivl_scope_def_file(scope) << ":" + << ivl_scope_def_lineno(scope) << ")"; arch->set_comment(ss.str()); ent->set_comment(ss.str());