aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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