diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-01 21:13:32 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-01 21:13:32 +0200 |
commit | d9be7ace78ec20c4b42fae9a956b3a9ce44d5dab (patch) | |
tree | db83019ac5dc88793d648e000202bffb8abb6414 /src | |
parent | 0fc1b65f6c0182d91ff56946944f86ceeef482ea (diff) | |
download | ghdl-d9be7ace78ec20c4b42fae9a956b3a9ce44d5dab.tar.gz ghdl-d9be7ace78ec20c4b42fae9a956b3a9ce44d5dab.tar.bz2 ghdl-d9be7ace78ec20c4b42fae9a956b3a9ce44d5dab.zip |
vhdl-annotations: adjust after change of subtype_indication.
Fix for ghdl/docker#29
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/vhdl-annotations.adb | 2 |
1 files changed, 1 insertions, 1 deletions
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; |