diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-01-15 18:13:07 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-01-15 18:13:07 +0100 |
commit | 4c61775cde12ee8169af73b6d023e02c948b0239 (patch) | |
tree | b56b6451df3b3d82ff2812040a4379677adaaa06 /src/vhdl/iirs_utils.adb | |
parent | f6c9bc0e66602c86003f118d8d8e35693d4abcaf (diff) | |
download | ghdl-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.adb | 2 |
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; |