aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/iirs_utils.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-01-15 18:13:07 +0100
committerTristan Gingold <tgingold@free.fr>2017-01-15 18:13:07 +0100
commit4c61775cde12ee8169af73b6d023e02c948b0239 (patch)
treeb56b6451df3b3d82ff2812040a4379677adaaa06 /src/vhdl/iirs_utils.adb
parentf6c9bc0e66602c86003f118d8d8e35693d4abcaf (diff)
downloadghdl-4c61775cde12ee8169af73b6d023e02c948b0239.tar.gz
ghdl-4c61775cde12ee8169af73b6d023e02c948b0239.tar.bz2
ghdl-4c61775cde12ee8169af73b6d023e02c948b0239.zip
vhdl2008: handle 'Subtype as a type name and in disp_vhdl
Diffstat (limited to 'src/vhdl/iirs_utils.adb')
-rw-r--r--src/vhdl/iirs_utils.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/iirs_utils.adb b/src/vhdl/iirs_utils.adb
index 5aceb7a3a..5492d26f2 100644
--- a/src/vhdl/iirs_utils.adb
+++ b/src/vhdl/iirs_utils.adb
@@ -1028,6 +1028,8 @@ package body Iirs_Utils is
return Get_Type (Ind);
when Iir_Kinds_Subtype_Definition =>
return Ind;
+ when Iir_Kind_Subtype_Attribute =>
+ return Get_Type (Ind);
when others =>
Error_Kind ("get_type_of_subtype_indication", Ind);
end case;