diff options
Diffstat (limited to 'src/vhdl/xrefs.adb')
-rw-r--r-- | src/vhdl/xrefs.adb | 2 |
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 |