diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/sem_names.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb index 5b3baf7cc..7e1161e06 100644 --- a/src/vhdl/sem_names.adb +++ b/src/vhdl/sem_names.adb @@ -3272,6 +3272,7 @@ package body Sem_Names is begin Prefix := Get_Named_Entity (Get_Prefix (Attr)); Res := Create_Iir (Kind); + Location_Copy (Res, Attr); if Kind = Iir_Kind_Delayed_Attribute then Set_Type (Res, Get_Type (Prefix)); elsif Kind = Iir_Kind_Transaction_Attribute then |