aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlmain.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-10 21:43:00 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-10 21:43:00 +0200
commitb76ff335a807be97a79e272b5e9bf08a99d3d8d6 (patch)
tree414e004aaaa69fa5a7987028ba54429e0707e3a3 /src/ghdldrv/ghdlmain.adb
parent4be73be561379cff6b0e5966e020d90387085034 (diff)
downloadghdl-b76ff335a807be97a79e272b5e9bf08a99d3d8d6.tar.gz
ghdl-b76ff335a807be97a79e272b5e9bf08a99d3d8d6.tar.bz2
ghdl-b76ff335a807be97a79e272b5e9bf08a99d3d8d6.zip
vhdl: decouple errorouts a bit more.
Diffstat (limited to 'src/ghdldrv/ghdlmain.adb')
-rw-r--r--src/ghdldrv/ghdlmain.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb
index 872d9848d..02e01cc1b 100644
--- a/src/ghdldrv/ghdlmain.adb
+++ b/src/ghdldrv/ghdlmain.adb
@@ -252,14 +252,14 @@ package body Ghdlmain is
is
use Errorout;
begin
- Report_Msg (Msgid_Error, Option, No_Location, Msg);
+ Report_Msg (Msgid_Error, Option, No_Source_Coord, Msg);
end Error;
procedure Warning (Msg : String)
is
use Errorout;
begin
- Report_Msg (Msgid_Warning, Option, No_Location, Msg);
+ Report_Msg (Msgid_Warning, Option, No_Source_Coord, Msg);
end Warning;
procedure Main