Skip to content

Commit 36a6983

Browse files
Nigel-Ecmajskeet
authored andcommitted
Fix x-refs.
1 parent a2cd777 commit 36a6983

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

standard/lexical-structure.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ These productions occur in contexts where a value can occur in an expression, an
7676
>
7777
> *end example*
7878
79-
If a sequence of tokens can be parsed, in context, as one of the disambiguated productions
80-
including an optional *type_argument_list* ([§8.4.2](types.md#842-type-arguments)), then
81-
the token immediately following the closing `>token shall be examined and if it is:
79+
If a sequence of tokens can be parsed, in context, as one of the disambiguated productions including an optional *type_argument_list* ([§8.4.2](types.md#842-type-arguments)), then the token immediately following the closing `>token shall be examined and if it is:
8280
8381
- one of `( ) ] } : ; , . ? == != | ^ && || & [`; or
8482
- one of the relational operators `< <= >= is as`; or
8583
- a contextual query keyword appearing inside a query expression.
8684
8785
then the *type_argument_list* shall be retained as part of the disambiguated production and any other possible parse of the sequence of tokens discarded. Otherwise, the tokens parsed as a *type_argument_list* shall not be considered to be part of the disambiguated production, even if there is no other possible parse of those tokens.
8886
89-
> *Note*: These disambiguation rules shall not be applied when parsing other productions even if they similarly end in “`identifier type_argument_list?`”; such productions shall be parsed as normal. Examples include: *namespace_or_type_name* ([§7.8](basic-concepts.md#78-namespace-and-type-names)); *named_entity* ([§12.8.23](expressions.md#12823-the-nameof-operator)); *null_conditional_projection_initializer* ([§12.8.8](expressions.md#§1288-null-conditional-member-access)); and *qualified_alias_member* ([§14.8.1](namespaces.md#1481-general)). *end note*
87+
> *Note*: These disambiguation rules shall not be applied when parsing other productions even if they similarly end in “`identifier type_argument_list?`”; such productions shall be parsed as normal. Examples include: *namespace_or_type_name* ([§7.8](basic-concepts.md#78-namespace-and-type-names)); *named_entity* ([§12.8.23](expressions.md#12823-the-nameof-operator)); *null_conditional_projection_initializer* ([§12.8.8](expressions.md#1288-null-conditional-member-access)); and *qualified_alias_member* ([§14.8.1](namespaces.md#1481-general)). *end note*
9088
<!-- markdownlint-disable MD028 -->
9189
9290
<!-- markdownlint-enable MD028 -->

0 commit comments

Comments
 (0)