diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-12-23 16:13:59 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-12-23 18:28:10 +0100 |
commit | a42177ad571f33622eb300e090152e49e84e19db (patch) | |
tree | 0a137c34670e142310b3912cfa65579ec62df9aa /src/vhdl | |
parent | 639793f95aa01f66c578df5b8843c41488c29e64 (diff) | |
download | ghdl-a42177ad571f33622eb300e090152e49e84e19db.tar.gz ghdl-a42177ad571f33622eb300e090152e49e84e19db.tar.bz2 ghdl-a42177ad571f33622eb300e090152e49e84e19db.zip |
vhdl-sem_inst: avoid a crash after error on package instantiation
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem_inst.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_inst.adb b/src/vhdl/vhdl-sem_inst.adb index c2594747b..b5a390a49 100644 --- a/src/vhdl/vhdl-sem_inst.adb +++ b/src/vhdl/vhdl-sem_inst.adb @@ -1059,6 +1059,8 @@ package body Vhdl.Sem_Inst is Set_Associated_Subprogram (Assoc_Formal, Actual_Subprg); end; end if; + when Iir_Kind_Error => + null; when others => Error_Kind ("instantiate_generic_map", Assoc); end case; |