diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-03-23 07:25:15 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-03-23 07:25:15 +0100 |
commit | b9bd50be737ff13967edf442717673fd9100941f (patch) | |
tree | f874c2b76751c7408591f5c8fae4e8d0cfad69f7 /src/vhdl/vhdl-sem_inst.adb | |
parent | 863df0ba75e7bd883b53a47e600955c249015462 (diff) | |
download | ghdl-b9bd50be737ff13967edf442717673fd9100941f.tar.gz ghdl-b9bd50be737ff13967edf442717673fd9100941f.tar.bz2 ghdl-b9bd50be737ff13967edf442717673fd9100941f.zip |
vhdl: make instance_package_body forward_ref, adjust
Diffstat (limited to 'src/vhdl/vhdl-sem_inst.adb')
-rw-r--r-- | src/vhdl/vhdl-sem_inst.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_inst.adb b/src/vhdl/vhdl-sem_inst.adb index 66754d91d..02e63836d 100644 --- a/src/vhdl/vhdl-sem_inst.adb +++ b/src/vhdl/vhdl-sem_inst.adb @@ -614,7 +614,9 @@ package body Vhdl.Sem_Inst is -- Do not instantiate the body of a package while -- instantiating a shared package. if not Is_Within_Shared_Instance then - Instantiate_Iir_Field (Res, N, F); + Set_Instance_Package_Body + (Res, Instantiate_Iir (Get_Instance_Package_Body (N), + False)); end if; when Field_Subtype_Definition => |