]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gnat-style.texi (Declarations and Types): Remove ancient style rule which was mandate...
authorFlorian Weimer <fw@deneb.enyo.de>
Sun, 23 Dec 2001 11:23:14 +0000 (12:23 +0100)
committerFlorian Weimer <fw@gcc.gnu.org>
Sun, 23 Dec 2001 11:23:14 +0000 (12:23 +0100)
* gnat-style.texi (Declarations and Types): Remove ancient style
rule which was mandated by code generation issues.

From-SVN: r48286

gcc/ada/ChangeLog
gcc/ada/gnat-style.texi

index 97e9e5704bc903ffdc5cda853efcbdd373a3c770..9901624dacefe8abb9c2adc0d71c97f1c67f13ef 100644 (file)
@@ -1,5 +1,8 @@
 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
 
+       * 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
index 398d35d07b56df414cdff25455a379e80e07e66e..dafef796b7b0e78c87f68934cb7e4da164654c7d 100644 (file)
@@ -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.