[Ada] Change message format on missing return

gcc/ada/

	* sem_ch6.adb (Check_Returns): Change message on missing return.
This commit is contained in:
Arnaud Charlet 2021-07-12 05:33:26 -04:00 committed by Pierre-Marie de Rodat
parent e690e0c287
commit ab857d1a3b

View File

@ -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