diff options
| author | Tristan Gingold <tgingold@free.fr> | 2021-05-25 08:04:41 +0200 |
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2021-05-25 08:04:41 +0200 |
| commit | e9352e8ec0caaddd97d747ee1ca72cefc56edbde (patch) | |
| tree | a4d973ab2f373e8d95bb49476cc14ddbeace1e0b /src | |
| parent | dfabd89fe70678316caa7d070080230ea33d2f66 (diff) | |
| download | ghdl-e9352e8ec0caaddd97d747ee1ca72cefc56edbde.tar.gz ghdl-e9352e8ec0caaddd97d747ee1ca72cefc56edbde.tar.bz2 ghdl-e9352e8ec0caaddd97d747ee1ca72cefc56edbde.zip | |
vhdl-utils: element attribute is a type mark
Diffstat (limited to 'src')
| -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; |
