From cdb323b1dbfccbcff5c63804ff73e6e86e4d05e8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 31 Jul 2016 17:17:00 +0200 Subject: Rewrite scan error messages: use formatting. --- src/ghdldrv/ghdlprint.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ghdldrv') diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb index f9b814404..04f2ba4ee 100644 --- a/src/ghdldrv/ghdlprint.adb +++ b/src/ghdldrv/ghdlprint.adb @@ -240,7 +240,7 @@ package body Ghdlprint is Ref := Find (Loc); if Ref = Bad_Xref then Disp_Text; - Warning_Msg_Sem ("cannot find xref", Loc, Warnid_Missing_Xref); + Warning_Msg_Sem (Warnid_Missing_Xref, Loc, "cannot find xref"); Missing_Xref := True; return; end if; -- cgit v1.2.3