aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_assocs.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-01-02 21:43:13 +0100
committerTristan Gingold <tgingold@free.fr>2019-01-02 21:43:13 +0100
commitc414582a22b001b7ca9893a1c2e017fb0523003d (patch)
treee8c173ce64db767595c586d26deb9c86a544123e /src/vhdl/sem_assocs.adb
parent9195e559d820e6fee7325da1502481d2f884084d (diff)
downloadghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.tar.gz
ghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.tar.bz2
ghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.zip
Remove unused is_ref for choices. Adjust.
Diffstat (limited to 'src/vhdl/sem_assocs.adb')
-rw-r--r--src/vhdl/sem_assocs.adb6
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