diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-02-04 19:03:22 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-02-04 19:03:22 +0100 |
commit | 76e2f6b335b8fbc5c44b5b166653b096f8c3ee57 (patch) | |
tree | 77cce9b4c8844c10b04486cabc17d888462f5097 /src/vhdl/vhdl-sem_names.adb | |
parent | 6c6eb10a9c547ae9ba286aaa686e518b55a9a994 (diff) | |
download | ghdl-76e2f6b335b8fbc5c44b5b166653b096f8c3ee57.tar.gz ghdl-76e2f6b335b8fbc5c44b5b166653b096f8c3ee57.tar.bz2 ghdl-76e2f6b335b8fbc5c44b5b166653b096f8c3ee57.zip |
vhdl-sem_names: improve error location.
Diffstat (limited to 'src/vhdl/vhdl-sem_names.adb')
-rw-r--r-- | src/vhdl/vhdl-sem_names.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb index f632b614e..b02fdedd4 100644 --- a/src/vhdl/vhdl-sem_names.adb +++ b/src/vhdl/vhdl-sem_names.adb @@ -4814,7 +4814,7 @@ package body Vhdl.Sem_Names is -- A message must have been displayed. return Name; when Iir_Kind_Overload_List => - Error_Overload (Res); + Error_Overload (Name); Set_Named_Entity (Name, Create_Error_Name (Name)); return Name; when Iir_Kinds_Concurrent_Statement |