From e9352e8ec0caaddd97d747ee1ca72cefc56edbde Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 25 May 2021 08:04:41 +0200 Subject: vhdl-utils: element attribute is a type mark --- src/vhdl/vhdl-utils.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vhdl') 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; -- cgit v1.2.3