aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-06 16:21:47 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-06 16:21:47 +0200
commit173bc379a93dd7de950557782bcc9f2b0a137ca9 (patch)
treed77225778265b1019d7314676c9dc65e21943894 /src/ghdldrv
parent4073a0be10c0cf14c87f3f19fc3baf594148149c (diff)
downloadghdl-173bc379a93dd7de950557782bcc9f2b0a137ca9.tar.gz
ghdl-173bc379a93dd7de950557782bcc9f2b0a137ca9.tar.bz2
ghdl-173bc379a93dd7de950557782bcc9f2b0a137ca9.zip
ghdlsynth: fix crash when using libghdl.
Diffstat (limited to 'src/ghdldrv')
-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 27af66d97..27694e26e 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -42,6 +42,7 @@ with Vhdl.Utils;
with Netlists.Dump;
with Netlists.Disp_Vhdl;
+with Netlists.Errors;
with Synthesis;
with Synth.Disp_Vhdl;
@@ -350,5 +351,6 @@ package body Ghdlsynth is
Ghdlsynth.Register_Commands;
Options.Initialize;
Errorout.Console.Install_Handler;
+ Netlists.Errors.Initialize;
end Init_For_Ghdl_Synth;
end Ghdlsynth;