* [Ada] Fix use of single question mark in error message
@ 2021-07-08 13:50 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-08 13:50 UTC (permalink / raw)
To: gcc-patches; +Cc: Ghjuvan Lacambre
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
Single question marks are deprecated.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* exp_prag.adb (Expand_Pragma_Inspection_Point): Fix error
message.
[-- Attachment #2: patch.diff --]
[-- Type: text/x-diff, Size: 573 bytes --]
diff --git a/gcc/ada/exp_prag.adb b/gcc/ada/exp_prag.adb
--- a/gcc/ada/exp_prag.adb
+++ b/gcc/ada/exp_prag.adb
@@ -2413,7 +2413,7 @@ package body Exp_Prag is
if Present (Freeze_Node (Entity (Expression (Assoc)))) and then
not Is_Frozen (Entity (Expression (Assoc)))
then
- Error_Msg_NE ("?inspection point references unfrozen object &",
+ Error_Msg_NE ("??inspection point references unfrozen object &",
Assoc,
Entity (Expression (Assoc)));
Remove_Inspection_Point := True;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-08 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:50 [Ada] Fix use of single question mark in error message Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).