diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-11-04 07:26:13 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-11-04 07:26:13 +0100 |
commit | e8308b72dc65ac38591179913a849db3914699fe (patch) | |
tree | 5ad8b3c6b37bc4b59029eb7e0139aa3f8292b4cf /src | |
parent | e18e9569ee6748f46bea65eccd078f3d4f2cee22 (diff) | |
download | ghdl-e8308b72dc65ac38591179913a849db3914699fe.tar.gz ghdl-e8308b72dc65ac38591179913a849db3914699fe.tar.bz2 ghdl-e8308b72dc65ac38591179913a849db3914699fe.zip |
ghdlsynth.adb: clear error counters to allow multiple synthesis.
For ghdl/ghdl-yosys-plugin#137
Diffstat (limited to 'src')
-rw-r--r-- | src/ghdldrv/ghdlsynth.adb | 3 |
1 files changed, 3 insertions, 0 deletions
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); |