diff options
-rw-r--r-- | src/vhdl/vhdl-utils.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb index 46c9bcd72..d90bef487 100644 --- a/src/vhdl/vhdl-utils.adb +++ b/src/vhdl/vhdl-utils.adb @@ -1186,7 +1186,8 @@ package body Vhdl.Utils is return Get_Type_Definition (Ent); when Iir_Kind_Subtype_Declaration | Iir_Kind_Base_Attribute - | Iir_Kind_Subtype_Attribute => + | Iir_Kind_Subtype_Attribute + | Iir_Kind_Element_Attribute => return Get_Type (Ent); when others => return Null_Iir; |