diff options
-rw-r--r-- | src/vhdl/vhdl-sem.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb index 99e08d51f..644cab68e 100644 --- a/src/vhdl/vhdl-sem.adb +++ b/src/vhdl/vhdl-sem.adb @@ -481,6 +481,7 @@ package body Vhdl.Sem is -- Return a reference to it. -- FIXME: The referenced name is not a name. Res := Create_Iir (Iir_Kind_Reference_Name); + Location_Copy (Res, Actual); Set_Referenced_Name (Res, Sig); Set_Named_Entity (Res, Sig); Set_Type (Res, Get_Type (Sig)); |