International Standard ISO/IEC 8652:1995


Information technology -- Programming languages -- Ada
AMENDMENT 1 (Draft 11)



Technologies de l'information -- Langages de programmation -- Ada
AMENDEMENT 1


Amendment 1 to International Standard ISO/IEC 8652:1995 was prepared by AXE Consultants.


© 2005, AXE Consultants. All Rights Reserved.

This document may be copied, in whole or in part, in any form or by any means, as is, or with alterations, provided that (1) alterations are clearly marked as alterations and (2) this copyright notice is included unmodified in any copy. Compiled copies of standard library units and examples need not contain this copyright notice so long as the notice is included in all copies of the source code and documentation. Any other use or distribution of this document is prohibited without the prior express permission of AXE.



Introduction

International Standard ISO/IEC 8652:1995 defines the Ada programming language.

This amendment modifies Ada by making changes and additions that improve:

This amendment incorporates the following major additions to the International Standard:

This Amendment is organized by sections corresponding to those in the International Standard. These sections include wording changes and additions to the International Standard. Clause and subclause headings are given for each clause that contains a wording change. Clauses and subclauses that do not contain any change or addition are omitted.

For each change, an anchor paragraph from the International Standard (as corrected by Technical Corrigendum 1) is given. New or revised text and instructions are given with each change. The anchor paragraph can be replaced or deleted, or text can be inserted before or after it. When a heading immediately precedes the anchor paragraph, any text inserted before the paragraph is intended to appear under the heading.

Typographical conventions:

Instructions about the text changes are in this font. The actual text changes are in the same fonts as the International Standard - this font for text, this font for syntax, and this font for Ada source code. Note that this document is designed to be viewed with the default font as some Roman font, similar to the Ada 95 standard. This may require some adjustments to your browser.

Disclaimer:

This document is a draft of a possible amendment to Ada 95 (International Standard ISO/IEC 8652:1995). This draft contains only proposals substantially approved by the ISO/IEC JTC 1/SC 22/WG 9 Ada Rapporteur Group (ARG). Many other important proposals are under consideration by the ARG. Neither the ARG nor any other group has determined which, if any, of these proposals will be included in the amendment. Any proposal may be substantially changed or withdrawn before this document begins standardization, and other proposals may be added. This document is not an official publication or work product of the ARG.




Forward and Introduction


Introduction

Replace paragraph 3: [AI95-00387-01]

by:

Replace paragraph 5: [AI95-00387-01]

by:

Replace paragraph 6: [AI95-00387-01]

by:

Replace paragraph 32: [AI95-00285-01; AI95-00387-01]

by:

Replace paragraph 34: [AI95-00285-01; AI95-00387-01]

by:

Insert after paragraph 38: [AI95-00387-01]

the new paragraph:

Replace paragraph 41: [AI95-00387-01]

by:

Replace paragraph 42: [AI95-00387-01]

by:

Replace paragraph 44: [AI95-00387-01]

by:

Replace paragraph 45: [AI95-00387-01]

by:

Replace paragraph 46: [AI95-00387-01]

by:

Replace paragraph 47: [AI95-00387-01]

by:

Replace paragraph 48: [AI95-00387-01]

by:

Replace paragraph 49: [AI95-00387-01]

by:

Replace paragraph 50: [AI95-00387-01]

by:

Replace paragraph 51: [AI95-00387-01]

by:

Replace paragraph 57: [AI95-00387-01]

by:




Section 1: General


1.1.2 Structure

Replace paragraph 13: [AI95-00347-01]

by:

1.1.4 Method of Description and Syntax Notation

Insert after paragraph 14: [AI95-00285-01]

the new paragraph:

Insert before paragraph 15: [AI95-00395-01]

the new paragraph:

1.2 Normative References

Replace paragraph 3: [AI95-00415-01]

by:

Replace paragraph 4: [AI95-00415-01]

by:

Insert after paragraph 5: [AI95-00351-01]

the new paragraph:

Replace paragraph 7: [AI95-00415-01]

by:

Replace paragraph 8: [AI95-00285-01; AI95-00376-01]

by:

1.3 Definitions

Replace paragraph 1: [AI95-00415-01]

by:




Section 2: Lexical Elements


2.1 Character Set

Replace paragraph 1: [AI95-00285-01; AI95-00395-01]

by:

Delete paragraph 2: [AI95-00285-01]

Replace paragraph 3: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 4: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 5: [AI95-00285-01]

by:

Replace paragraph 6: [AI95-00285-01]

by:

Delete paragraph 7: [AI95-00285-01]

Replace paragraph 8: [AI95-00285-01]

by:

Replace paragraph 9: [AI95-00285-01]

by:

Replace paragraph 10: [AI95-00285-01]

by:

Replace paragraph 11: [AI95-00285-01]

by:

Replace paragraph 12: [AI95-00285-01]

by:

Replace paragraph 13: [AI95-00285-01]

by:

Replace paragraph 14: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 15: [AI95-00285-01]

by:

Delete paragraph 16: [AI95-00285-01]

Replace paragraph 17: [AI95-00285-01]

by:

2.2 Lexical Elements, Separators, and Delimiters

Replace paragraph 2: [AI95-00285-01]

by:

Replace paragraph 3: [AI95-00285-01]

by:

Replace paragraph 4: [AI95-00285-01]

by:

Replace paragraph 5: [AI95-00285-01]

by:

Replace paragraph 8: [AI95-00285-01]

by:

2.3 Identifiers

Replace paragraph 2: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 3: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 4: [AI95-00395-01]

by:

Replace paragraph 5: [AI95-00285-01; AI95-00395-01]

by:

Replace paragraph 6: [AI95-00285-01; AI95-00395-01]

by:

2.4.1 Decimal Literals

Insert after paragraph 5: [AI95-00285-01]

the new paragraph:

2.6 String Literals

Insert after paragraph 7: [AI95-00285-01]

the new paragraph:

2.9 Reserved Words

In paragraph 2 replace: [AI95-00284-02; AI95-00395-01]

by:

In the list in paragraph 2, add: [AI95-00284-02; AI95-00395-01]




Section 3: Declarations and Types


3.1 Declarations

Replace paragraph 3: [AI95-00348-01]

by:

3.2 Types and Subtypes

Replace paragraph 4: [AI95-00326-01]

by:

Replace paragraph 5: [AI95-00326-01]

by:

Replace paragraph 6: [AI95-00366-01]

by:

Replace paragraph 7: [AI95-00231-01]

by:

Replace paragraph 8: [AI95-00231-01; AI95-00415-01]

by:

3.2.1 Type Declarations

Replace paragraph 4: [AI95-00251-01]

by:

Replace paragraph 7: [AI95-00230-01]

by:

Replace paragraph 8: [AI95-00230-01; AI95-00326-01]

by:

3.2.2 Subtype Declarations

Replace paragraph 3: [AI95-00231-01]

by:

3.2.3 Classification of Operations

Replace paragraph 1: [AI95-00416-01]

by:

Insert after paragraph 6: [AI95-00335-01]

the new paragraph:

Replace paragraph 7: [AI95-00200-01]

by:

3.3.1 Object Declarations

Replace paragraph 2: [AI95-00385-01; AI95-00406-01]

by:

Replace paragraph 5: [AI95-00287-01]

by:

Replace paragraph 8: [AI95-00373-01; AI95-00385-01]

by:

Replace paragraph 9: [AI95-00363-01]

by:

Replace paragraph 16: [AI95-00385-01]

by:

Replace paragraph 18: [AI95-00373-01]

by:

Delete paragraph 19: [AI95-00373-01]

Replace paragraph 20: [AI95-00373-01]

by:

3.4 Derived Types and Classes

Replace paragraph 1: [AI95-00401-01]

by:

Replace paragraph 2: [AI95-00251-01; AI95-00419-01]

by:

Replace paragraph 3: [AI95-00251-01; AI95-00401-01]

by:

Replace paragraph 5: [AI95-00401-01; AI95-00419-01]

by:

Replace paragraph 8: [AI95-00251-01; AI95-00401-01]

by:

Replace paragraph 15: [AI95-00419-01]

by:

Replace paragraph 17: [AI95-00401-01]

by:

Replace paragraph 18: [AI95-00401-01]

by:

Replace paragraph 22: [AI95-00401-01]

by:

Replace paragraph 23: [AI95-00251-01; AI95-00401-01]

by:

Replace paragraph 27: [AI95-00391-01; AI95-00401-01]

by:

Insert after paragraph 35: [AI95-00251-01; AI95-00401-01]

the new paragraph:

3.4.1 Derivation Classes

Replace paragraph 2: [AI95-00251-01; AI95-00401-01]

by:

Replace paragraph 6: [AI95-00230-01]

by:

Replace paragraph 10: [AI95-00230-01; AI95-00351-01]

by:

3.5 Scalar Types

Insert after paragraph 27: [AI95-00285-01]

the new paragraphs:

Replace paragraph 30: [AI95-00285-01]

by:

Delete paragraph 31: [AI95-00285-01]

Delete paragraph 32: [AI95-00285-01]

Delete paragraph 33: [AI95-00285-01]

Delete paragraph 34: [AI95-00285-01]

Replace paragraph 37: [AI95-00285-01]

by:

Insert after paragraph 39: [AI95-00285-01]

the new paragraphs:

Replace paragraph 43: [AI95-00285-01]

by:

Delete paragraph 44: [AI95-00285-01]

Delete paragraph 45: [AI95-00285-01]

Delete paragraph 46: [AI95-00285-01]

Delete paragraph 47: [AI95-00285-01]

Delete paragraph 48: [AI95-00285-01]

Delete paragraph 49: [AI95-00285-01]

Delete paragraph 50: [AI95-00285-01]

Delete paragraph 51: [AI95-00285-01]

Replace paragraph 55: [AI95-00285-01]

by:

Replace paragraph 56: [AI95-00285-01]

by:

Replace paragraph 59: [AI95-00285-01]

by:

3.5.2 Character Types

Replace paragraph 2: [AI95-00285-01]

by:

Replace paragraph 3: [AI95-00285-01; AI95-00395-01]

by:

Delete paragraph 4: [AI95-00285-01]

Delete paragraph 5: [AI95-00285-01]

3.5.4 Integer Types

Replace paragraph 16: [AI95-00340-01]

by:

3.5.9 Fixed Point Types

Replace paragraph 8: [AI95-00100-01]

by:

3.6 Array Types

Replace paragraph 7: [AI95-00230-01; AI95-00406-01]

by:

Delete paragraph 11: [AI95-00363-01]

Replace paragraph 22: [AI95-00230-01]

by:

3.6.2 Operations of Array Types

Replace paragraph 16: [AI95-00287-01]

by:

3.6.3 String Types

Replace paragraph 2: [AI95-00285-01]

by:

Replace paragraph 4: [AI95-00285-01]

by: