aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-07 18:39:21 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-07 18:39:21 +0200
commitcdda9d783f71a13fa2c828f6b8677f64932f6a6e (patch)
tree8c029ebbe7ff5fd44c3a7c726648b5cff1449469
parentb5d63b3ebcddbda84f797281c833e695f2629c49 (diff)
downloadghdl-cdda9d783f71a13fa2c828f6b8677f64932f6a6e.tar.gz
ghdl-cdda9d783f71a13fa2c828f6b8677f64932f6a6e.tar.bz2
ghdl-cdda9d783f71a13fa2c828f6b8677f64932f6a6e.zip
ghdlsynth: setup error messages for netlists.
-rw-r--r--src/ghdldrv/ghdlsynth.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index f06676097..fb1239442 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -269,6 +269,8 @@ package body Ghdlsynth is
raise Errorout.Compilation_Error;
end if;
+ Netlists.Errors.Initialize;
+
Synthesis.Synth_Design (Config, Res, Inst);
if Res = No_Module then
raise Errorout.Compilation_Error;