aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-11 05:35:10 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-11 05:35:10 +0100
commit9292b6304ffa761b224aacb50f1f58a73bedbad7 (patch)
treeeb103c946896ef37d57b920a0fa586c837148f32 /src/synth/elab-vhdl_annotations.adb
parent1989110a760403d7067936c98a22ea1eb0db2ab0 (diff)
downloadghdl-9292b6304ffa761b224aacb50f1f58a73bedbad7.tar.gz
ghdl-9292b6304ffa761b224aacb50f1f58a73bedbad7.tar.bz2
ghdl-9292b6304ffa761b224aacb50f1f58a73bedbad7.zip
synth: handle file subtype
Diffstat (limited to 'src/synth/elab-vhdl_annotations.adb')
-rw-r--r--src/synth/elab-vhdl_annotations.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_annotations.adb b/src/synth/elab-vhdl_annotations.adb
index 84bb6e02e..3871631c6 100644
--- a/src/synth/elab-vhdl_annotations.adb
+++ b/src/synth/elab-vhdl_annotations.adb
@@ -284,7 +284,8 @@ package body Elab.Vhdl_Annotations is
when Iir_Kind_Access_Subtype_Definition =>
Create_Object_Info (Block_Info, Def, Kind_Type);
- when Iir_Kind_File_Type_Definition =>
+ when Iir_Kind_File_Type_Definition
+ | Iir_Kind_File_Subtype_Definition =>
-- For the File type.
Create_Object_Info (Block_Info, Def, Kind_Type);