diff options
Diffstat (limited to 'libraries.adb')
-rw-r--r-- | libraries.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.adb b/libraries.adb index e37689ca6..d99b4d268 100644 --- a/libraries.adb +++ b/libraries.adb @@ -1343,7 +1343,7 @@ package body Libraries is begin Lib := Get_Library (Get_Identifier (Get_Prefix (Unit)), Get_Location (Unit)); - return Find_Primary_Unit (Lib, Get_Suffix_Identifier (Unit)); + return Find_Primary_Unit (Lib, Get_Identifier (Unit)); end; when Iir_Kind_Entity_Aspect_Entity => return Find_Secondary_Unit |