aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2021-07-12 05:33:26 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2021-09-22 15:01:41 +0000
commitab857d1a3b4b726262c4c9d31c22d214a3ffee53 (patch)
treebbab015df824c3bfe43f77a4e22fbbc546a5ffd4 /gcc
parente690e0c287db5cdb33c229be95f5c3a9ef9bd9f0 (diff)
downloadgcc-ab857d1a3b4b726262c4c9d31c22d214a3ffee53.zip
gcc-ab857d1a3b4b726262c4c9d31c22d214a3ffee53.tar.gz
gcc-ab857d1a3b4b726262c4c9d31c22d214a3ffee53.tar.bz2
[Ada] Change message format on missing return
gcc/ada/ * sem_ch6.adb (Check_Returns): Change message on missing return.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/sem_ch6.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index 304dc19..f885d30 100644
--- a/gcc/ada/sem_ch6.adb
+++ b/gcc/ada/sem_ch6.adb
@@ -7760,7 +7760,7 @@ package body Sem_Ch6 is
("RETURN statement missing following this statement<<!",
Last_Stm);
Error_Msg_N
- ("\Program_Error ]<<!", Last_Stm);
+ ("\Program_Error [<<!", Last_Stm);
end if;
-- Note: we set Err even though we have not issued a warning