aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-04-11 18:22:03 +0200
committerTristan Gingold <tgingold@free.fr>2022-04-11 18:22:03 +0200
commit78580d027885a02ad7cf661e210f4fda379bd997 (patch)
treedd429c34564dcac627bf711734facbbb6a691677 /src/vhdl/vhdl-sem.adb
parent33043febf136c4d1096b83885ec5823b8c2bb843 (diff)
downloadghdl-78580d027885a02ad7cf661e210f4fda379bd997.tar.gz
ghdl-78580d027885a02ad7cf661e210f4fda379bd997.tar.bz2
ghdl-78580d027885a02ad7cf661e210f4fda379bd997.zip
vhdl-sem.adb: adjust location of error message. Fix #2031
Diffstat (limited to 'src/vhdl/vhdl-sem.adb')
-rw-r--r--src/vhdl/vhdl-sem.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb
index 3338f77f6..aed94e118 100644
--- a/src/vhdl/vhdl-sem.adb
+++ b/src/vhdl/vhdl-sem.adb
@@ -3186,7 +3186,7 @@ package body Vhdl.Sem is
end if;
when others =>
Error_Msg_Sem
- (+Prefix, "prefix must designate a package or a library");
+ (+Name, "prefix must designate a package or a library");
Set_Prefix (Name, Create_Error_Name (Name_Prefix));
return;
end case;