aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlmain.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-01-20 21:29:42 +0100
committerTristan Gingold <tgingold@free.fr>2021-01-20 21:29:42 +0100
commit93ca27c43d5f7c4ce8abfade5e8c42b81108ebf5 (patch)
tree9d201b53e4a739128f4fa891b307df80872f7114 /src/ghdldrv/ghdlmain.adb
parent20c5d3b2ef15833d6f01eefc5b2b2a89736c1538 (diff)
downloadghdl-93ca27c43d5f7c4ce8abfade5e8c42b81108ebf5.tar.gz
ghdl-93ca27c43d5f7c4ce8abfade5e8c42b81108ebf5.tar.bz2
ghdl-93ca27c43d5f7c4ce8abfade5e8c42b81108ebf5.zip
src/ghdldrv: fix regression for ghdl-yosys-plugin
Allow to do multiple synthesis
Diffstat (limited to 'src/ghdldrv/ghdlmain.adb')
-rw-r--r--src/ghdldrv/ghdlmain.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb
index 59e615c18..e1680c3c7 100644
--- a/src/ghdldrv/ghdlmain.adb
+++ b/src/ghdldrv/ghdlmain.adb
@@ -434,6 +434,9 @@ package body Ghdlmain is
Errorout.Console.Set_Program_Name (Command_Name);
Errorout.Console.Install_Handler;
+ -- Initialize global structures.
+ Options.Initialize;
+
-- Handle case of no argument
if Argument_Count = 0 then
Error ("missing command, try " & Command_Name & " 'help'");