CVS difference for ais/ai-00368.txt

Differences between 1.4 and version 1.5
Log of other versions for file ais/ai-00368.txt

--- ais/ai-00368.txt	2004/09/14 01:25:57	1.4
+++ ais/ai-00368.txt	2004/11/14 06:37:20	1.5
@@ -1,4 +1,4 @@
-!standard 13.12 (7)                                   04-06-29   AI95-00368/03
+!standard 13.12 (7)                                   04-11-09   AI95-00368/04
 !standard J(1)
 !class amendment 03-12-11
 !status Amendment 200Y 04-06-29
@@ -32,17 +32,25 @@
 
 !discussion
 
+After much discussion it was agreed that this restriction was useful. It
+could be used to ensure that new programs do not inadvertantly use
+obsolescent features. But those who want to use ASCII, etc do not have to use
+the restriction.
+
+However, there was some concern with the renamings in J.1 so their detection
+by the restriction is made implementation defined.
+
 !wording
 
 Add the following after 13.12(7):
 
-The following restriction_identifier is language-defined:
+The following restriction_identifier is language defined:
 
 No_Obsolescent_Features
 
 There is no use of language features defined in Annex J. It is
-implementation-defined if uses of the renamings of J.1 are detected by this
-restriction. This restriction applies only
+implementation defined whether uses of the renamings of J.1 are detected
+by this restriction. This restriction applies only
 to the current compilation or environment, not the entire partition.
 
 AARM Note: Reason: A user could compile a rename like "with Ada.Text_IO;
@@ -59,16 +67,18 @@
 
 !example
 
+   pragma Restrictions(No_Obsolescent_Features);
+
 !corrigendum 13.12(7)
 
 @dinsa
-The set of @fa<restriction>s is implementation-defined.
+The set of @fa<restriction>s is implementation defined.
 @dinss
-The following @i<restriction>_@fa<identifier> is language-defined:
+The following @i<restriction>_@fa<identifier> is language defined:
 
 @xhang<@xterm<No_Obsolescent_Features>
 There is no use of language features defined in Annex J. It is
-implementation-defined if uses of the renamings of J.1 are detected by this
+implementation defined whether uses of the renamings of J.1 are detected by this
 restriction. This restriction applies only to the current compilation or
 environment, not the entire partition.>
 

Questions? Ask the ACAA Technical Agent