[COMMITTED 17/38] ada: Fix error message for pragma First_Controlling_Parameter
Marc Poulhiès
poulhies@adacore.com
Mon Nov 4 16:10:52 GMT 2024
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 --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;
--
2.43.0
More information about the Gcc-patches
mailing list