diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-16 20:46:09 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-16 20:46:09 +0100 |
commit | ad252b4268f855b7df53092826b6f6a57ce4c4e3 (patch) | |
tree | a78850bb3cd642048db6bc38ebf16dd1a75af567 /src/ghdldrv | |
parent | 9624f0ce08849f8cf14fe81416496417b4754d9d (diff) | |
download | ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.gz ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.bz2 ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.zip |
errorout: split and rework.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlmain.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb index da23ea47f..52bfab5b9 100644 --- a/src/ghdldrv/ghdlmain.adb +++ b/src/ghdldrv/ghdlmain.adb @@ -22,6 +22,7 @@ with Version; with Bug; with Options; with Types; use Types; +with Errorout.Console; package body Ghdlmain is procedure Init (Cmd : in out Command_Type) @@ -271,7 +272,8 @@ package body Ghdlmain is First_Arg : Natural; begin -- Set program name for error message. - Errorout.Set_Program_Name (Command_Name); + Errorout.Console.Set_Program_Name (Command_Name); + Errorout.Console.Install_Handler; -- Handle case of no argument if Argument_Count = 0 then |