From d51d0111c4ce057fd30b03370249dac8ac61f627 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 7 Jan 2023 19:03:54 +0100 Subject: synth: handle stop/finish without status --- src/synth/synth-vhdl_static_proc.adb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/synth') diff --git a/src/synth/synth-vhdl_static_proc.adb b/src/synth/synth-vhdl_static_proc.adb index d968a8631..fdc33b121 100644 --- a/src/synth/synth-vhdl_static_proc.adb +++ b/src/synth/synth-vhdl_static_proc.adb @@ -100,7 +100,9 @@ package body Synth.Vhdl_Static_Proc is when Iir_Predefined_Flush => Synth_File_Flush (Syn_Inst, Imp, Loc); when Iir_Predefined_Std_Env_Finish_Status - | Iir_Predefined_Std_Env_Stop_Status => + | Iir_Predefined_Std_Env_Stop_Status + | Iir_Predefined_Std_Env_Finish + | Iir_Predefined_Std_Env_Stop => if Hook_Finish /= null then Hook_Finish.all (Syn_Inst, Imp); else -- cgit v1.2.3