From: Piotr Trojanek <troja...@adacore.com> Code cleanup.
gcc/ada/ChangeLog: * par-ch5.adb (Test_Statement_Required): Fix comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/par-ch5.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/par-ch5.adb b/gcc/ada/par-ch5.adb index 34c845f838c..6e6690395f1 100644 --- a/gcc/ada/par-ch5.adb +++ b/gcc/ada/par-ch5.adb @@ -204,7 +204,7 @@ package body Ch5 is null; -- If not Ada 2012, or not special case above, and no declaration - -- seen (as allowed in Ada 2020), give error message. + -- seen (as allowed in Ada 2022), give error message. elsif No (Decl_Loc) then Error_Msg_BC -- CODEFIX -- 2.43.0