aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-29 09:25:04 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-29 09:25:04 +0100
commite713a54f694e1bb205cb158f30fbbb6f1648909c (patch)
tree605b25603d6fc2aa1bac6d8f27daf184fbc9ed3b /src/vhdl
parentf84ffd4a37781bcfa7eab0d1b359dce178924425 (diff)
downloadghdl-e713a54f694e1bb205cb158f30fbbb6f1648909c.tar.gz
ghdl-e713a54f694e1bb205cb158f30fbbb6f1648909c.tar.bz2
ghdl-e713a54f694e1bb205cb158f30fbbb6f1648909c.zip
elab-vhdl_annotations: refactoring
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-utils.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb
index e3e04cfe8..04fab38a9 100644
--- a/src/vhdl/vhdl-utils.adb
+++ b/src/vhdl/vhdl-utils.adb
@@ -1336,6 +1336,7 @@ package body Vhdl.Utils is
Def := Get_Subtype_Indication (Decl);
-- Implicit functions don't have subtype indication.
-- TODO: make them regular ?
+ -- Also, object aliases may not have a subtype indication.
if Def = Null_Iir then
return False;
end if;