aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/translation.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-08-02 09:17:08 +0200
committerTristan Gingold <tgingold@free.fr>2016-08-02 09:17:08 +0200
commit3c83e47c98bc9e58ca2c231a5b24c3639018c9cc (patch)
treef2c0133e26ee413d3c778465c552233905a5db56 /src/vhdl/translate/translation.adb
parentee0e651d9b3946910d513e6a670453e25e5f014d (diff)
downloadghdl-3c83e47c98bc9e58ca2c231a5b24c3639018c9cc.tar.gz
ghdl-3c83e47c98bc9e58ca2c231a5b24c3639018c9cc.tar.bz2
ghdl-3c83e47c98bc9e58ca2c231a5b24c3639018c9cc.zip
Rewrite most of error and warning messages.
Diffstat (limited to 'src/vhdl/translate/translation.adb')
-rw-r--r--src/vhdl/translate/translation.adb9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/vhdl/translate/translation.adb b/src/vhdl/translate/translation.adb
index 27da99f97..741a20503 100644
--- a/src/vhdl/translate/translation.adb
+++ b/src/vhdl/translate/translation.adb
@@ -18,7 +18,6 @@
with Ortho_Nodes; use Ortho_Nodes;
with Ortho_Ident; use Ortho_Ident;
with Flags; use Flags;
-with Ada.Text_IO;
with Types; use Types;
with Errorout; use Errorout;
with Name_Table; -- use Name_Table;
@@ -229,11 +228,13 @@ package body Translation is
El := Get_Library_Unit (Unit);
if Flags.Verbose then
- Ada.Text_IO.Put ("translating ");
if Main then
- Ada.Text_IO.Put ("(with code generation) ");
+ Report_Msg (Msgid_Note, Semantic, No_Location,
+ "translating (with code generation) %n", (1 => +El));
+ else
+ Report_Msg (Msgid_Note, Semantic, No_Location,
+ "translating %n", (1 => +El));
end if;
- Ada.Text_IO.Put_Line (Disp_Node (El));
end if;
-- Create the prefix for identifiers.