aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_names.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-15 04:59:14 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-15 04:59:14 +0200
commitf26603130376dbdaf498a7441ada4b02e194b684 (patch)
treedae997ee30dfdd0b37c553babb61e124e623602c /src/vhdl/vhdl-sem_names.adb
parente15629320e954921f1332bfe7c97e3fc18f52832 (diff)
downloadghdl-f26603130376dbdaf498a7441ada4b02e194b684.tar.gz
ghdl-f26603130376dbdaf498a7441ada4b02e194b684.tar.bz2
ghdl-f26603130376dbdaf498a7441ada4b02e194b684.zip
Add comments
Diffstat (limited to 'src/vhdl/vhdl-sem_names.adb')
-rw-r--r--src/vhdl/vhdl-sem_names.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb
index 6586389cb..d38f78ee5 100644
--- a/src/vhdl/vhdl-sem_names.adb
+++ b/src/vhdl/vhdl-sem_names.adb
@@ -3802,6 +3802,7 @@ package body Vhdl.Sem_Names is
-- The type defined by 'element is always constrained. Create
-- a subtype if it is not.
+ -- NO, it isn't. The prefix can be a type.
Attr_Subtype := Get_Element_Subtype (Attr_Type);
if False and not Is_Fully_Constrained_Type (Attr_Subtype) then
Attr_Subtype :=