CVS difference for ais/ai-00284.txt

Differences between 1.2 and version 1.3
Log of other versions for file ais/ai-00284.txt

--- ais/ai-00284.txt	2002/03/13 00:48:29	1.2
+++ ais/ai-00284.txt	2002/06/11 05:15:50	1.3
@@ -1,15 +1,16 @@
-!standard 2.09    (02)                               02-01-23  AI95-00284/01
+!standard 2.09    (02)                               02-05-24  AI95-00284/02
+!standard 2.09    (03)
 !class amendment 02-01-23
 !status work item 02-01-23
 !status received 02-01-23
 !priority Medium
 !difficulty Medium
-!subject Nonreserved words
+!subject Nonreserved keywords
 
 !summary
 
-New lexical constructs, named "nonreserved words" are introduced.  They make it
-possible to add new syntax without compromising the readability of the
+A new lexical construct, named "nonreserved keywords" is introduced. It makes
+it possible to add new syntax without compromising the readability of the
 language, and without introducing incompatibilities.
 
 !problem
@@ -44,15 +45,19 @@
 !proposal
 
 This amendment introduces a new category of lexical elements,
-_nonreserved_words_.  Examples of nonreserved words could be (ignoring
-upper/lower case distinctions):
+_nonreserved_keywords_. We use the term "keyword" because "nonreserved word"
+would sound strange. For consistency, the term "reserved word" is changed into
+"reserved keyword".
 
+Examples of nonreserved keywords could be (ignoring upper/lower case
+distinctions):
+
    interface         overriding
 
-Nonreserved words have special meaning in the syntax (where they appear as
-terminals).  They appear in lower case boldface in the RM, just like reserved
-words.  Here are two examples of possible BNF productions including nonreserved
-words:
+Nonreserved keywords have special meaning in the syntax (where they appear as
+terminals). They appear in lower case boldface in the RM, just like reserved
+keywords. Here are two examples of possible BNF productions including nonreserved
+keywords:
 
    type_definition ::= ... | abstract_interface_definition
    abstract_interface_definition ::= ABSTRACT [LIMITED] INTERFACE
@@ -64,17 +69,58 @@
          parameter_and_result_profile overriding_indication
    overriding_indication ::= IS OVERRIDING
 
-Evidently, the productions which involve nonreserved words must be such that
+Evidently, the productions which involve nonreserved keywords must be such that
 they do not make the grammar ambiguous, or do not require unreasonable
-lookahead.  This will have to be checked on a case-by-case basis.
+lookahead. This will have to be checked on a case-by-case basis.
 
-An identifier (2.3) may be a nonreserved word.  This is the rule that ensures
-that the introduction of new syntax using nonreserved words is a compatible
+An identifier (2.3) may be a nonreserved keyword. This is the rule that ensures
+that the introduction of new syntax using nonreserved keywords is a compatible
 process.
 
 !discussion
 
+(See proposal.)
+
 !example
+
+(See proposal.)
+
+!corrigendum 02.09(2)
+
+@drepl
+The following are the @i<reserved words> (ignoring upper/lower case
+distinctions):
+@dby
+The following are the @i<reserved keywords> (ignoring upper/lower case
+distinctions):
+
+!corrigendum 02.09(3)
+
+@drepl
+NOTES@hr
+The reserved words appear in @key<lower case boldface> in this International
+Standard, except when used in the @nt<designator> of an attribute (see
+@RefSecNum(Attributes)). Lower case boldface is also used for a reserved word
+in a @nt<string_literal> used as an @nt<operator_symbol>. This is merely a
+convention @em programs may be written in whatever typeface is desired and
+available.
+
+@dby
+The following are the @i<nonreserved keywords> (ignoring upper/lower case
+distinctions):
+
+(This list intentionally left blank.)
+
+Reserved keywords are also referred to as @i<reserved words> in other parts
+of this International Standard.
+
+NOTES@hr
+The reserved and nonreserved keywords appear in @key<lower case boldface> in
+this International Standard, except when used in the @nt<designator> of an
+attribute (see @RefSecNum(Attributes)). Lower case boldface is also used for
+a reserved keyword in a @nt<string_literal> used as an @nt<operator_symbol>.
+This is merely a convention @em programs may be written in whatever typeface
+is desired and available.
 
 !ACATS test
 

Questions? Ask the ACAA Technical Agent