aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 97f54ebde..f9b814404 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);
+ Warning_Msg_Sem ("cannot find xref", Loc, Warnid_Missing_Xref);
Missing_Xref := True;
return;
end if;