]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix reference to Ada 2020 in comment
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 4 Nov 2024 12:37:50 +0000 (13:37 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Dec 2024 09:58:01 +0000 (10:58 +0100)
Code cleanup.

gcc/ada/ChangeLog:

* par-ch5.adb (Test_Statement_Required): Fix comment.

gcc/ada/par-ch5.adb

index 34c845f838cc1a7577158d92ce3839862d2f45a1..6e6690395f1df65b3de5fa2291c69d91e253d202 100644 (file)
@@ -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