aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-01-05 19:25:14 +0100
committerTristan Gingold <tgingold@free.fr>2022-01-05 19:25:14 +0100
commit33eb34d7ca038b8ab0b2c116e4a5453bf1bde9f3 (patch)
treed1431d5ae41a617c166b9f4c88c9af31f19fb19a
parent89fc56f98e81a9fa390e4e80ddefff72e68237e7 (diff)
downloadghdl-33eb34d7ca038b8ab0b2c116e4a5453bf1bde9f3.tar.gz
ghdl-33eb34d7ca038b8ab0b2c116e4a5453bf1bde9f3.tar.bz2
ghdl-33eb34d7ca038b8ab0b2c116e4a5453bf1bde9f3.zip
synth: ignore use clauses in finalization Fix #1942
-rw-r--r--src/synth/synth-vhdl_decls.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb
index 29b8b455a..ae320e6cc 100644
--- a/src/synth/synth-vhdl_decls.adb
+++ b/src/synth/synth-vhdl_decls.adb
@@ -741,6 +741,8 @@ package body Synth.Vhdl_Decls is
when Iir_Kind_Package_Instantiation_Declaration =>
-- TODO: also finalize ?
null;
+ when Iir_Kind_Use_Clause =>
+ null;
when others =>
Vhdl.Errors.Error_Kind ("finalize_declaration", Decl);
end case;