aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-08-03 03:49:15 +0200
committerTristan Gingold <tgingold@free.fr>2021-08-03 03:49:15 +0200
commitdb7e1aa8644ec803d3de1ac6acef8e9beaf50e96 (patch)
treec2f30bbbc5970f43c667d95c0fe4f672c85c4aba /src/vhdl/vhdl-nodes.ads
parentb72f46a096f4d989717e6bd268cc969227ca8c4e (diff)
downloadghdl-db7e1aa8644ec803d3de1ac6acef8e9beaf50e96.tar.gz
ghdl-db7e1aa8644ec803d3de1ac6acef8e9beaf50e96.tar.bz2
ghdl-db7e1aa8644ec803d3de1ac6acef8e9beaf50e96.zip
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
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads4
1 files changed, 2 insertions, 2 deletions
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.