Typo in description of handling of Address clauses by GNAT; spotted
while implementing support for overlays in GNATprove.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

        * doc/gnat_rm/representation_clauses_and_pragmas.rst (Address
        Clauses): Fix unbalanced parens.
        * gnat_rm.texi: Regenerate.
diff --git a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
--- a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
+++ b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
@@ -1738,7 +1738,7 @@ of the use of this pragma. This may cause an overlay to have this
 unintended clobbering effect. The compiler avoids this for scalar
 types, but not for composite objects (where in general the effect
 of ``Initialize_Scalars`` is part of the initialization routine
-for the composite object:
+for the composite object):
 
 ::
 


diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -19946,7 +19946,7 @@ of the use of this pragma. This may cause an overlay to have this
 unintended clobbering effect. The compiler avoids this for scalar
 types, but not for composite objects (where in general the effect
 of @code{Initialize_Scalars} is part of the initialization routine
-for the composite object:
+for the composite object):
 
 @example
 pragma Initialize_Scalars;


Reply via email to