]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Tune message for illegal aspect Relaxed_Initialization
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 9 Aug 2022 13:09:53 +0000 (15:09 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 6 Sep 2022 07:14:21 +0000 (09:14 +0200)
Error message about illegal aspect Relaxed_Initialization was lacking a
whitespace character.

gcc/ada/

* sem_ch13.adb (Analyze_Aspect_Relaxed_Initialization): Fix error
template.

gcc/ada/sem_ch13.adb

index 940379812306f2b96eb9a95381cba74442eff914..54b10dd6597365f4e1eb58d285593551de4a03b3 100644 (file)
@@ -2293,7 +2293,7 @@ package body Sem_Ch13 is
                                     then
                                        Error_Msg_Name_1 := Nam;
                                        Error_Msg_N
-                                         ("expression of aspect %" &
+                                         ("expression of aspect % " &
                                           "must be static", Aspect);
                                     end if;