]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix casing of reserved word.
authorVadim Godunko <godunko@adacore.com>
Tue, 3 Mar 2026 04:49:34 +0000 (08:49 +0400)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 28 May 2026 08:52:50 +0000 (10:52 +0200)
gcc/ada/ChangeLog:

* doc/gnat_rm/implementation_of_ada_2022_features.rst: Fix casing.
* gnat_rm.texi: Regenerate.

gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst
gcc/ada/gnat_rm.texi

index f06f37f5fedaa0dcc2148e06acc6d4c590d9e2ac..48289b24a44cb1e79af1e8dbd26ed0c98424e23f 100644 (file)
@@ -356,7 +356,7 @@ http://www.ada-auth.org/AI12-SUMMARY.HTML.
 
   .. code::
 
-    Array (1 .. 10) of Integer :=
+    array (1 .. 10) of Integer :=
       (for I in 1 .. 10 => I ** 2);
     type Matrix is
     array
index 5a6d8372476d5f1417d5b669987defef3237413e..f4359db64e3c1008698c78b303dbc98b7b97e90a 100644 (file)
@@ -27791,7 +27791,7 @@ Ada issue AI12-061 introduces a new construct in array aggregates allowing
 component associations to be parameterized by a loop variable, for example:
 
 @example
-Array (1 .. 10) of Integer :=
+array (1 .. 10) of Integer :=
   (for I in 1 .. 10 => I ** 2);
 type Matrix is
 array