]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove a remaining reference to ?
authorArnaud Charlet <charlet@adacore.com>
Fri, 3 Feb 2023 11:08:35 +0000 (11:08 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 22 May 2023 08:44:09 +0000 (10:44 +0200)
We should no longer use ? anywhere when emitting warnings.

gcc/ada/

* sem_aggr.adb (Get_Value): Use ?? instead of ?.

gcc/ada/sem_aggr.adb

index 2ccfe6dcaef01e0958d525cd505dac3d091dadfa..6405fe4c2d4f486010feb532e17d0c844b9b6aaf 100644 (file)
@@ -4676,7 +4676,7 @@ package body Sem_Aggr is
                         then
                            Error_Msg_Node_2 := Typ;
                            Error_Msg_NE
-                             ("component&? of type& is uninitialized",
+                             ("??component& of type& is uninitialized",
                               Assoc, Selector_Name);
 
                            --  An additional reminder if the component type