diff mbox series

[COMMITTED,17/38] ada: Fix error message for pragma First_Controlling_Parameter

Message ID 20241104161116.1431659-17-poulhies@adacore.com
State New
Headers show
Series [COMMITTED,01/38] ada: Fix asymmetry in resolution of unary intrinsic operators | expand

Commit Message

Marc Poulhiès Nov. 4, 2024, 4:10 p.m. UTC
From: Raphaël AMIARD <amiard@adacore.com>

gcc/ada/ChangeLog:

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

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/sem_prag.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb
index 00df728e950..9a3e7acf34f 100644
--- a/gcc/ada/sem_prag.adb
+++ b/gcc/ada/sem_prag.adb
@@ -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;