From: Vadim Godunko <[email protected]>

gcc/ada/ChangeLog:

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

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst | 2 +-
 gcc/ada/gnat_rm.texi                                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst 
b/gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst
index f06f37f5fed..48289b24a44 100644
--- a/gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst
+++ b/gcc/ada/doc/gnat_rm/implementation_of_ada_2022_features.rst
@@ -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
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 5a6d8372476..f4359db64e3 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -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
-- 
2.53.0

Reply via email to