chiark / gitweb /
doc/syntax.tex: Settle on <dotted-name> rather than <qualified-identifier>.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 17 Nov 2015 17:05:06 +0000 (17:05 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 17 Nov 2015 17:05:06 +0000 (17:05 +0000)
The document used both rather randomly.  The former is shorter and
less pointlessly abstract.

doc/syntax.tex

index fa3e98fcd7b7cb3a303ac3bf91c9467ebe699cb3..f89e9c6b23ed9bf513e41d175ecbf60d467ec726 100644 (file)
@@ -602,7 +602,7 @@ These items are discussed on the following sections.
 A @<slot-item> defines one or more slots.  All instances of the class and any
 subclass will contain these slot, with the names and types given by the
 @<declaration-specifiers> and the @<declarators>.  Slot declarators may not
-contain qualified identifiers.
+contain dotted names.
 
 It is not possible to declare a slot with function type: such an item is
 interpreted as being a @<message-item> or @<method-item>.  Pointers to
@@ -631,7 +631,7 @@ class Example : Super {
 \begin{grammar}
 <initializer-item> ::= @["class"@] <list>@[<slot-initializer>@]
 
-<slot-initializer> ::= <qualified-identifier> "=" <initializer>
+<slot-initializer> ::= <dotted-name> "=" <initializer>
 
 <initializer> :: "{" <c-fragment> "}" | <c-fragment>
 \end{grammar}
@@ -640,9 +640,9 @@ An @<initializer-item> provides an initial value for one or more slots.  If
 prefixed by @"class", then the initial values are for class slots (i.e.,
 slots of the class object itself); otherwise they are for instance slots.
 
-The first component of the @<qualified-identifier> must be the nickname of
-one of the class's superclasses (including itself); the second must be the
-name of a slot defined in that superclass.
+The first component of the @<dotted-name> must be the nickname of one of the
+class's superclasses (including itself); the second must be the name of a
+slot defined in that superclass.
 
 The initializer has one of two forms.
 \begin{itemize}