From e7a369a3a9ecd7781d4f948550fe0664aa7946d1 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sat, 28 Oct 2023 23:19:28 -0400 Subject: [PATCH] Change "this production" (and 1 "this phrase") to "this |Nonterminal|" --- spec.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec.html b/spec.html index 2ba72a71194..107b3af8696 100644 --- a/spec.html +++ b/spec.html @@ -17164,7 +17164,7 @@

Static Semantics: Early Errors

NonOctalDecimalEscapeSequence In non-strict code, this syntax is Legacy. @@ -18021,7 +18021,7 @@

Static Semantics: Early Errors

BindingIdentifier : Identifier @@ -18082,7 +18082,7 @@

Static Semantics: Early Errors

Identifier : IdentifierName but not ReservedWord
  • - It is a Syntax Error if this phrase is contained in strict mode code and the StringValue of |IdentifierName| is one of *"implements"*, *"interface"*, *"let"*, *"package"*, *"private"*, *"protected"*, *"public"*, *"static"*, or *"yield"*. + It is a Syntax Error if this |Identifier| is contained in strict mode code and the StringValue of |IdentifierName| is one of *"implements"*, *"interface"*, *"let"*, *"package"*, *"private"*, *"protected"*, *"public"*, *"static"*, or *"yield"*.
  • It is a Syntax Error if the goal symbol of the syntactic grammar is |Module| and the StringValue of |IdentifierName| is *"await"*. @@ -22583,7 +22583,7 @@

    Static Semantics: Early Errors

    WithStatement : `with` `(` Expression `)` Statement
    • - It is a Syntax Error if the source text matched by this production is contained in strict mode code. + It is a Syntax Error if the source text matched by this |WithStatement| is contained in strict mode code.
    • It is a Syntax Error if IsLabelledFunction(|Statement|) is *true*. @@ -50521,7 +50521,7 @@

      Changes to Block Static Semantics: Early Errors

      Block : `{` StatementList `}`
      • - It is a Syntax Error if the LexicallyDeclaredNames of |StatementList| contains any duplicate entries, unless the source text matched by this production is not strict mode code and the duplicate entries are only bound by FunctionDeclarations. + It is a Syntax Error if the LexicallyDeclaredNames of |StatementList| contains any duplicate entries, unless the source text matched by this |Block| is not strict mode code and the duplicate entries are only bound by FunctionDeclarations.
      • It is a Syntax Error if any element of the LexicallyDeclaredNames of |StatementList| also occurs in the VarDeclaredNames of |StatementList|. @@ -50535,7 +50535,7 @@

        Changes to `switch` Statement Static Semantics: Early Errors

        SwitchStatement : `switch` `(` Expression `)` CaseBlock
        • - It is a Syntax Error if the LexicallyDeclaredNames of |CaseBlock| contains any duplicate entries, unless the source text matched by this production is not strict mode code and the duplicate entries are only bound by FunctionDeclarations. + It is a Syntax Error if the LexicallyDeclaredNames of |CaseBlock| contains any duplicate entries, unless the source text matched by this |SwitchStatement| is not strict mode code and the duplicate entries are only bound by FunctionDeclarations.
        • It is a Syntax Error if any element of the LexicallyDeclaredNames of |CaseBlock| also occurs in the VarDeclaredNames of |CaseBlock|.