aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-10-03 16:36:48 +0200
committerTristan Gingold <tgingold@free.fr>2022-10-03 16:36:48 +0200
commit926dff10e4ed121e08c18c2f77030e5962308966 (patch)
treeebdf39140fa53e68f34a9fa275d7b748632c8336 /src/synth/synth-vhdl_decls.adb
parentc7ac60b0835b1017b62ae106f0d48eef9efc65df (diff)
downloadghdl-926dff10e4ed121e08c18c2f77030e5962308966.tar.gz
ghdl-926dff10e4ed121e08c18c2f77030e5962308966.tar.bz2
ghdl-926dff10e4ed121e08c18c2f77030e5962308966.zip
synth: avoid crash on invalid hdl in psl. Fix #2204
Diffstat (limited to 'src/synth/synth-vhdl_decls.adb')
-rw-r--r--src/synth/synth-vhdl_decls.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb
index 0be74aeb6..d8c074cd4 100644
--- a/src/synth/synth-vhdl_decls.adb
+++ b/src/synth/synth-vhdl_decls.adb
@@ -931,6 +931,9 @@ package body Synth.Vhdl_Decls is
Synth_Concurrent_Attribute_Specification (Syn_Inst, Decl);
when Iir_Kind_Package_Instantiation_Declaration =>
Synth_Package_Instantiation (Syn_Inst, Decl);
+ when Iir_Kind_Attribute_Implicit_Declaration =>
+ -- Error will be printed when the attribute is used.
+ null;
when others =>
Vhdl.Errors.Error_Kind ("synth_concurrent_declaration", Decl);
end case;