From b6042b843904df76cbd3277b49093c01104afb96 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Tue, 21 Jan 2020 13:26:23 -0500 Subject: [PATCH] Editorial: Consistify whitespace in `` content About half of the changes delete an extraneous space at the end of a lookahead annotation. The rest are misc. None of them will make a visible difference in the rendered version. --- spec.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/spec.html b/spec.html index 03b402a7f9f..984d4720140 100644 --- a/spec.html +++ b/spec.html @@ -10901,7 +10901,7 @@

Syntax

LineTerminatorSequence :: <LF> - <CR> [lookahead != <LF> ] + <CR> [lookahead != <LF>] <LS> <PS> <CR> <LF> @@ -11876,7 +11876,7 @@

Syntax

TemplateCharacter TemplateCharacters? TemplateCharacter :: - `$` [lookahead != `{` ] + `$` [lookahead != `{`] `\` EscapeSequence `\` NotEscapeSequence LineContinuation @@ -11897,10 +11897,10 @@

Syntax

`u` `{` CodePoint [lookahead <! HexDigit] [lookahead != `}`] NotCodePoint :: - HexDigits [> but only if MV of |HexDigits| > 0x10FFFF ] + HexDigits [> but only if MV of |HexDigits| > 0x10FFFF] CodePoint :: - HexDigits [> but only if MV of |HexDigits| ≤ 0x10FFFF ] + HexDigits [> but only if MV of |HexDigits| ≤ 0x10FFFF]

A conforming implementation must not use the extended definition of |EscapeSequence| described in when parsing a |TemplateCharacter|.

@@ -12089,7 +12089,7 @@

Static Semantics: TV and TRV

The TRV of LineTerminatorSequence :: <PS> is the code unit 0x2029 (PARAGRAPH SEPARATOR).
  • - The TRV of LineTerminatorSequence :: <CR><LF> is the sequence consisting of the code unit 0x000A (LINE FEED). + The TRV of LineTerminatorSequence :: <CR> <LF> is the sequence consisting of the code unit 0x000A (LINE FEED).
  • @@ -13530,7 +13530,7 @@

    Syntax

    `?.` IdentifierName `?.` TemplateLiteral[?Yield, ?Await, +Tagged] OptionalChain[?Yield, ?Await] Arguments[?Yield, ?Await] - OptionalChain[?Yield, ?Await] `[` Expression[+In, ?Yield, ?Await] `]` + OptionalChain[?Yield, ?Await] `[` Expression[+In, ?Yield, ?Await] `]` OptionalChain[?Yield, ?Await] `.` IdentifierName OptionalChain[?Yield, ?Await] TemplateLiteral[?Yield, ?Await, +Tagged] @@ -17310,10 +17310,10 @@

    Syntax

    `for` `(` [lookahead != `let` `[`] LeftHandSideExpression[?Yield, ?Await] `in` Expression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] `for` `(` `var` ForBinding[?Yield, ?Await] `in` Expression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] `for` `(` ForDeclaration[?Yield, ?Await] `in` Expression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] - `for` `(` [lookahead != `let` ] LeftHandSideExpression[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] + `for` `(` [lookahead != `let`] LeftHandSideExpression[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] `for` `(` `var` ForBinding[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] `for` `(` ForDeclaration[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] - [+Await] `for` `await` `(` [lookahead != `let` ] LeftHandSideExpression[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] + [+Await] `for` `await` `(` [lookahead != `let`] LeftHandSideExpression[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] [+Await] `for` `await` `(` `var` ForBinding[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] [+Await] `for` `await` `(` ForDeclaration[?Yield, ?Await] `of` AssignmentExpression[+In, ?Yield, ?Await] `)` Statement[?Yield, ?Await, ?Return] @@ -17764,7 +17764,6 @@

    Static Semantics: ContainsDuplicateLabels

    `for` `await` `(` LeftHandSideExpression `of` AssignmentExpression `)` Statement `for` `await` `(` `var` ForBinding `of` AssignmentExpression `)` Statement `for` `await` `(` ForDeclaration `of` AssignmentExpression `)` Statement - 1. Return ContainsDuplicateLabels of |Statement| with argument _labelSet_. @@ -19917,7 +19916,7 @@

    Syntax

    CoverParenthesizedExpressionAndArrowParameterList[?Yield, ?Await] #parencover ConciseBody[In] : - [lookahead != `{` ] ExpressionBody[?In, ~Await] + [lookahead != `{`] ExpressionBody[?In, ~Await] `{` FunctionBody[~Yield, ~Await] `}` ExpressionBody[In, Await] : @@ -24481,7 +24480,7 @@

    Static Semantics: ExportedNames

    1. Return a new empty List. - ExportFromClause : `*` `as` IdentifierName + ExportFromClause : `*` `as` IdentifierName 1. Return a List containing the StringValue of |IdentifierName|.