From e8308b72dc65ac38591179913a849db3914699fe Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Nov 2020 07:26:13 +0100 Subject: ghdlsynth.adb: clear error counters to allow multiple synthesis. For ghdl/ghdl-yosys-plugin#137 --- src/ghdldrv/ghdlsynth.adb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 09c9f1494..94b51c3ab 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -426,6 +426,9 @@ package body Ghdlsynth is end; end loop; + -- Forget any previous errors. + Errorout.Nbr_Errors := 0; + -- Find the command. This is a little bit convoluted... Decode_Command_Options (Cmd, Args, First_Arg); -- cgit v1.2.3