[Ada] Fix continuation message for missing ALL in access type
authorYannick Moy <moy@adacore.com>
Wed, 30 Dec 2020 17:15:23 +0000 (18:15 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 4 May 2021 09:17:28 +0000 (05:17 -0400)
gcc/ada/

* sem_res.adb (Valid_Conversion): Make message a continuation.

gcc/ada/sem_res.adb

index 47798e3..d0f8226 100644 (file)
@@ -13974,7 +13974,7 @@ package body Sem_Res is
       then
          Conversion_Error_N ("target type must be general access type!", N);
          Conversion_Error_NE -- CODEFIX
-            ("add ALL to }!", N, Target_Type);
+            ("\add ALL to }!", N, Target_Type);
          return False;
 
       --  Here we have a real conversion error