aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-09-17 16:36:34 +0200
committerTristan Gingold <tgingold@free.fr>2022-09-17 19:03:27 +0200
commit69ee33d1f0e4559b868068c955ef9c24f0438a11 (patch)
treec6088f2f334bc1650536e245b6270ba7afbbccbb /src/vhdl/vhdl-annotations.adb
parent6e800dc93b88801fcb9465cb3ca95b14e8489200 (diff)
downloadghdl-69ee33d1f0e4559b868068c955ef9c24f0438a11.tar.gz
ghdl-69ee33d1f0e4559b868068c955ef9c24f0438a11.tar.bz2
ghdl-69ee33d1f0e4559b868068c955ef9c24f0438a11.zip
synth: factorize code (reuse synth_constant_declaration)
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r--src/vhdl/vhdl-annotations.adb2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb
index 1bb0bff82..6957ba4e3 100644
--- a/src/vhdl/vhdl-annotations.adb
+++ b/src/vhdl/vhdl-annotations.adb
@@ -393,8 +393,6 @@ package body Vhdl.Annotations is
end if;
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);