From d9be7ace78ec20c4b42fae9a956b3a9ce44d5dab Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 1 Jul 2020 21:13:32 +0200 Subject: vhdl-annotations: adjust after change of subtype_indication. Fix for ghdl/docker#29 --- src/vhdl/vhdl-annotations.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vhdl/vhdl-annotations.adb') diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb index 10905c879..fc1d252ce 100644 --- a/src/vhdl/vhdl-annotations.adb +++ b/src/vhdl/vhdl-annotations.adb @@ -439,7 +439,7 @@ package body Vhdl.Annotations is | Iir_Kind_Interface_Variable_Declaration | Iir_Kind_Interface_Constant_Declaration | Iir_Kind_Interface_File_Declaration => - if Get_Subtype_Indication (El) /= Null_Iir then + if not Get_Is_Ref (El) then Annotate_Anonymous_Type_Definition (Block_Info, Get_Type (El)); end if; -- cgit v1.2.3