]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix old glitch in the GNAT Reference Manual
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 26 Oct 2024 13:16:57 +0000 (15:16 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Sat, 26 Oct 2024 13:18:50 +0000 (15:18 +0200)
gcc/ada
PR ada/62122
* doc/gnat_rm/implementation_defined_attributes.rst
(Unrestricted_Access): Remove null exclusion.
* gnat_rm.texi: Regenerate.

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

index 2db245a0b884a5ab881e26eb77b644862063bcb5..f0518106853fd4ca48b8b533ab34a8182ac6c3d2 100644 (file)
@@ -1382,7 +1382,7 @@ has returned, such calls are erroneous. For example:
 
   package body P is
 
-     type Less_Nested is not null access procedure;
+     type Less_Nested is access procedure;
      Global : Less_Nested;
 
      procedure P1 is
index 4bcdcf6781d4803bfd5236f86dc20a2746f8104c..647207f89e9d077fd2d65bf2cae9a223e3a69552 100644 (file)
@@ -12066,7 +12066,7 @@ has returned, such calls are erroneous. For example:
 @example
 package body P is
 
-   type Less_Nested is not null access procedure;
+   type Less_Nested is access procedure;
    Global : Less_Nested;
 
    procedure P1 is