diff options
Diffstat (limited to 'src/vhdl/sem_lib.adb')
-rw-r--r-- | src/vhdl/sem_lib.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_lib.adb b/src/vhdl/sem_lib.adb index 5f1c0b367..6595731c2 100644 --- a/src/vhdl/sem_lib.adb +++ b/src/vhdl/sem_lib.adb @@ -192,7 +192,7 @@ package body Sem_Lib is end if; if Get_Date (Design_Unit) = Date_Obsolete then - Error_Msg_Sem (+Design_Unit, "%n has been obsoleted", + Error_Msg_Sem (+Loc, "%n has been obsoleted", +Get_Library_Unit (Design_Unit)); raise Compilation_Error; end if; |