From: Florian Weimer Date: Sun, 23 Dec 2001 11:23:14 +0000 (+0100) Subject: gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandate... X-Git-Tag: prereleases/libstdc++-3.0.96~899 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ece2d1b8245459f35afcaf72ff1f5cd1d1c859e5;p=thirdparty%2Fgcc.git gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandated by code generation issues. * gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandated by code generation issues. From-SVN: r48286 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 97e9e5704bc9..9901624dacef 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,5 +1,8 @@ 2001-12-23 Florian Weimer + * gnat-style.texi (Declarations and Types): Remove ancient style + rule which was mandated by code generation issues. + * gnat-style.texi (header): Add @dircategory, @direntry. (title page): Remove date. (general) Add @./@: where approriate, and two spaces after the diff --git a/gcc/ada/gnat-style.texi b/gcc/ada/gnat-style.texi index 398d35d07b56..dafef796b7b0 100644 --- a/gcc/ada/gnat-style.texi +++ b/gcc/ada/gnat-style.texi @@ -6,7 +6,7 @@ @c o @c G N A T C O D I N G S T Y L E o @c o -@c $Revision: 1.3 $ +@c $Revision: 1.4 $ @c o @c Copyright (C) 1992-2001 Ada Core Technologies, Inc. o @c o @@ -46,7 +46,7 @@ @sp 10 @title GNAT Coding Style @subtitle A guide for GNAT developers -@subtitle Document revision level $Revision: 1.3 $ +@subtitle Document revision level $Revision: 1.4 $ @author Ada Core Technologies, Inc. @end titlepage @raisesections @@ -281,11 +281,6 @@ Related groups of declarations may be preceded by a header comment. All local subprograms in a subprogram or package body should be declared before the first local subprogram body. -@item -Do not declare discriminated record types where the discriminant is used -for constraining an unconstrained array type. (Discriminated -records for a variant part are allowed.) - @item Don't declare local entities that hide global entities.