aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/ortho_front.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-16 20:46:09 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-16 20:46:09 +0100
commitad252b4268f855b7df53092826b6f6a57ce4c4e3 (patch)
treea78850bb3cd642048db6bc38ebf16dd1a75af567 /src/vhdl/translate/ortho_front.adb
parent9624f0ce08849f8cf14fe81416496417b4754d9d (diff)
downloadghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.gz
ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.tar.bz2
ghdl-ad252b4268f855b7df53092826b6f6a57ce4c4e3.zip
errorout: split and rework.
Diffstat (limited to 'src/vhdl/translate/ortho_front.adb')
-rw-r--r--src/vhdl/translate/ortho_front.adb4
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;