diff options
Diffstat (limited to 'src/vhdl/sem_assocs.adb')
-rw-r--r-- | src/vhdl/sem_assocs.adb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vhdl/sem_assocs.adb b/src/vhdl/sem_assocs.adb index 251563c3f..04b8c8807 100644 --- a/src/vhdl/sem_assocs.adb +++ b/src/vhdl/sem_assocs.adb @@ -871,14 +871,12 @@ package body Sem_Assocs is Index_Tlist : constant Iir_Flist := Get_Index_Subtype_List (Atype); Nbr_Dims : constant Natural := Get_Nbr_Elements (Index_Tlist); Index_Type : constant Iir := Get_Nth_Element (Index_Tlist, Dim - 1); + Chain : constant Iir := Get_Individual_Association_Chain (Assoc); Low, High : Iir; - Chain : Iir; El : Iir; begin - Chain := Get_Individual_Association_Chain (Assoc); Sem_Check_Continuous_Choices - (Chain, Index_Type, Low, High, Get_Location (Assoc), False, False); - Set_Individual_Association_Chain (Assoc, Chain); + (Chain, Index_Type, Low, High, Get_Location (Assoc), False); if Dim < Nbr_Dims then El := Chain; while El /= Null_Iir loop |