aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2001-12-23 12:23:14 +0100
committerFlorian Weimer <fw@gcc.gnu.org>2001-12-23 12:23:14 +0100
commitece2d1b8245459f35afcaf72ff1f5cd1d1c859e5 (patch)
treeac4386d28474641a6f52876349c40e17330e2a97 /gcc
parentb3d45d87b1f73b8358c32f3b1fecf4c57a125457 (diff)
downloadgcc-ece2d1b8245459f35afcaf72ff1f5cd1d1c859e5.zip
gcc-ece2d1b8245459f35afcaf72ff1f5cd1d1c859e5.tar.gz
gcc-ece2d1b8245459f35afcaf72ff1f5cd1d1c859e5.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog3
-rw-r--r--gcc/ada/gnat-style.texi9
2 files changed, 5 insertions, 7 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 97e9e57..9901624 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -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
diff --git a/gcc/ada/gnat-style.texi b/gcc/ada/gnat-style.texi
index 398d35d..dafef79 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
@@ -282,11 +282,6 @@ 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.
@item