]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix error message for pragma First_Controlling_Parameter
authorRaphaël AMIARD <amiard@adacore.com>
Fri, 11 Oct 2024 13:56:45 +0000 (15:56 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 4 Nov 2024 15:57:57 +0000 (16:57 +0100)
gcc/ada/ChangeLog:

* sem_prag.adb (Analyze_Pragma): Fix format for second line of
warning (should be a continuation line)

gcc/ada/sem_prag.adb

index 00df728e950006bced60932bcb90801ff45687cd..9a3e7acf34fd3b758b864f8309aaee80b99bfe0a 100644 (file)
@@ -17906,7 +17906,7 @@ package body Sem_Prag is
                   Error_Msg_N
                     ("?_j?'First_'Controlling_'Parameter has no effect", N);
                   Error_Msg_NE
-                    ("?_j?because & does not implement interface types",
+                    ("\?_j?because & does not implement interface types",
                      N, E);
                end if;