AARM95 - Reserved Words
Author: JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor

Contents Index Previous Next

# 2.9 Reserved Words

#### Syntax

1/1
This paragraph was deleted.
2
The following are the reserved words (ignoring upper/lower case distinctions):
2.a
Discussion: Reserved words have special meaning in the syntax. In addition, certain reserved words are used as attribute names.
2.b
The syntactic category identifier no longer allows reserved words. We have added the few reserved words that are legal explicitly to the syntax for attribute_reference. Allowing identifier to include reserved words has been a source of confusion for some users, and differs from the way they are treated in the C and Pascal language definitions.

abort | else | new | return |
abs | elsif | not | reverse |
abstract | end | null |  |
accept | entry |  | select |
access | exception | of | separate |
aliased | exit | or | subtype |
all |  | others |  |
and | for | out | tagged |
array | function |  | task |
at |  | package | terminate |
| generic | pragma | then |
begin | goto | private | type |
body |  | procedure |  |
| if | protected | until |
case | in |  | use |
constant | is | raise |  |
|  | range | when |
declare | limited | record | while |
delay | loop | rem | with |
delta |  | renames |  |
digits | mod | requeue | xor |
do |  |  |  |

NOTES
3
6 The reserved words appear in lower case boldface in this International Standard, except when used in the designator of an attribute (see 4.1.4). Lower case boldface is also used for a reserved word in a string_literal used as an operator_symbol. This is merely a convention -- programs may be written in whatever typeface is desired and available.

#### Incompatibilities With Ada 83

3.a
The following words are not reserved in Ada 83, but are reserved in Ada 95: abstract, aliased, protected, requeue, tagged, until.

#### Wording Changes from Ada 83

3.b
The clause entitled ``Allowed Replacements of Characters'' has been moved to Annex J, ``Obsolescent Features''.

Contents Index Previous Next Legal