aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/xrefs.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-12-18 18:14:40 +0100
committerTristan Gingold <tgingold@free.fr>2018-12-18 18:19:30 +0100
commit48b78095ffa8bf349bec312d14812df264cacc32 (patch)
treed3477dc99f57878d99c54394bc6f5e1af70f4201 /src/vhdl/xrefs.adb
parent7624e7bd83a1fea5b38f81a2d68f27acb78ed7a9 (diff)
downloadghdl-48b78095ffa8bf349bec312d14812df264cacc32.tar.gz
ghdl-48b78095ffa8bf349bec312d14812df264cacc32.tar.bz2
ghdl-48b78095ffa8bf349bec312d14812df264cacc32.zip
iir_kind_selected_element: use Named_Entity for homogeneity.
Diffstat (limited to 'src/vhdl/xrefs.adb')
-rw-r--r--src/vhdl/xrefs.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/xrefs.adb b/src/vhdl/xrefs.adb
index 58b52e2d9..d04a7d135 100644
--- a/src/vhdl/xrefs.adb
+++ b/src/vhdl/xrefs.adb
@@ -134,7 +134,7 @@ package body Xrefs is
end;
when Iir_Kind_Selected_Element =>
Add_Xref (Get_Location (Name),
- Get_Selected_Element (Name), Xref_Ref);
+ Get_Named_Entity (Name), Xref_Ref);
when Iir_Kind_Dereference
| Iir_Kind_Implicit_Dereference
| Iir_Kind_Slice_Name