From db7e1aa8644ec803d3de1ac6acef8e9beaf50e96 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 3 Aug 2021 03:49:15 +0200 Subject: vhdl-sem_expr.adb: build element subtype for aggregate when possible. In case of array aggregate whose element subtype is not bounded, extract it from the aggregate elements. Fix #1055 Fix #1455 --- src/vhdl/vhdl-nodes.ads | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vhdl/vhdl-nodes.ads') diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads index 9ba5a43fa..05f717c47 100644 --- a/src/vhdl/vhdl-nodes.ads +++ b/src/vhdl/vhdl-nodes.ads @@ -2967,11 +2967,11 @@ package Vhdl.Nodes is -- Get/Set_Resolution_Indication (Field5) -- -- The index_constraint list as it appears in the subtype indication (if - -- present). This is a list of subtype indication. + -- present). This is a list of subtype indication. Owned by this node. -- Get/Set_Index_Constraint_List (Field6) -- -- The type of the index. This is either the index_constraint list or the - -- index subtypes of the type_mark. + -- index subtypes of the type_mark. Not owned by this node. -- Get/Set_Index_Subtype_List (Field9) -- -- Set when the element is re-constrained. -- cgit v1.2.3