aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdllocal.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/ghdldrv/ghdllocal.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/ghdldrv/ghdllocal.adb')
-rw-r--r--src/ghdldrv/ghdllocal.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 906bdc046..ca40d9cce 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -60,7 +60,8 @@ package body Ghdllocal is
end if;
if Flags.Verbose then
- Put_Line ("analyze " & Disp_Node (Get_Library_Unit (Unit)));
+ Report_Msg (Msgid_Note, Semantic, No_Location,
+ "analyze %n", (1 => +Get_Library_Unit (Unit)));
end if;
Sem.Semantic (Unit);
@@ -87,7 +88,8 @@ package body Ghdllocal is
or else ((Main or Flags.List_All) and then Flags.List_Canon)
then
if Flags.Verbose then
- Put_Line ("canonicalize " & Disp_Node (Get_Library_Unit (Unit)));
+ Report_Msg (Msgid_Note, Semantic, No_Location,
+ "canonicalize %n", (1 => +Get_Library_Unit (Unit)));
end if;
Canon.Canonicalize (Unit);