aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdldrv/ghdlsynth.adb3
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);