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/vhdl/translate | |
parent | 9624f0ce08849f8cf14fe81416496417b4754d9d (diff) | |
download | ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.gz ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.bz2 ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.zip |
errorout: split and rework.
Diffstat (limited to 'src/vhdl/translate')
-rw-r--r-- | src/vhdl/translate/ortho_front.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb index d7dee0015..1eb8a3cd8 100644 --- a/src/vhdl/translate/ortho_front.adb +++ b/src/vhdl/translate/ortho_front.adb @@ -27,6 +27,7 @@ with Translation; with Sem; with Sem_Lib; use Sem_Lib; with Errorout; use Errorout; +with Errorout.Console; with GNAT.OS_Lib; with Bug; with Trans_Be; @@ -73,6 +74,9 @@ package body Ortho_Front is procedure Init is begin + -- Set program name for error message. + Errorout.Console.Install_Handler; + -- Initialize. Trans_Be.Register_Translation_Back_End; |