aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-08 07:08:00 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-11 20:24:36 +0100
commit7f23209c22450787fc428aecbc434d93c2cd0c69 (patch)
tree026a24dba60586d60b48693cba5d4dc2de3696ec /src/vhdl/vhdl-annotations.adb
parent8599d9ddd15b15afdeced6059b1e1b7a972f4db1 (diff)
downloadghdl-7f23209c22450787fc428aecbc434d93c2cd0c69.tar.gz
ghdl-7f23209c22450787fc428aecbc434d93c2cd0c69.tar.bz2
ghdl-7f23209c22450787fc428aecbc434d93c2cd0c69.zip
synth: initial support of access type. For #1004
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r--src/vhdl/vhdl-annotations.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb
index 6d7ec3048..8e2973356 100644
--- a/src/vhdl/vhdl-annotations.adb
+++ b/src/vhdl/vhdl-annotations.adb
@@ -436,6 +436,10 @@ package body Vhdl.Annotations is
when Iir_Kind_Access_Type_Definition =>
Annotate_Anonymous_Type_Definition
(Block_Info, Get_Designated_Type (Def));
+ if Flag_Synthesis then
+ -- For the designated type.
+ Create_Object_Info (Block_Info, Def, Kind_Type);
+ end if;
when Iir_Kind_Access_Subtype_Definition =>
null;