Skip to content

Commit

Permalink
Change "this production" (and 1 "this phrase") to "this |Nonterminal|"
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdyck committed Oct 29, 2023
1 parent 5d30bc7 commit e7a369a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -17164,7 +17164,7 @@ <h1>Static Semantics: Early Errors</h1>
NonOctalDecimalEscapeSequence
</emu-grammar>
<ul>
<li>It is a Syntax Error if the source text matched by this production is strict mode code.</li>
<li>It is a Syntax Error if the source text matched by this |EscapeSequence| is strict mode code.</li>
</ul>
<emu-note>In non-strict code, this syntax is Legacy.</emu-note>
<emu-note>
Expand Down Expand Up @@ -18021,7 +18021,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-grammar>BindingIdentifier : Identifier</emu-grammar>
<ul>
<li>
It is a Syntax Error if the source text matched by this production is contained in strict mode code and the StringValue of |Identifier| is either *"arguments"* or *"eval"*.
It is a Syntax Error if the source text matched by this |BindingIdentifier| is contained in strict mode code and the StringValue of |Identifier| is either *"arguments"* or *"eval"*.
</li>
</ul>
<emu-grammar>
Expand Down Expand Up @@ -18082,7 +18082,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-grammar>Identifier : IdentifierName but not ReservedWord</emu-grammar>
<ul>
<li>
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"*.
</li>
<li>
It is a Syntax Error if the goal symbol of the syntactic grammar is |Module| and the StringValue of |IdentifierName| is *"await"*.
Expand Down Expand Up @@ -22583,7 +22583,7 @@ <h1>Static Semantics: Early Errors</h1>
<emu-grammar>WithStatement : `with` `(` Expression `)` Statement</emu-grammar>
<ul>
<li>
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.
</li>
<li>
It is a Syntax Error if IsLabelledFunction(|Statement|) is *true*.
Expand Down Expand Up @@ -50521,7 +50521,7 @@ <h1>Changes to Block Static Semantics: Early Errors</h1>
<emu-grammar>Block : `{` StatementList `}`</emu-grammar>
<ul>
<li>
It is a Syntax Error if the LexicallyDeclaredNames of |StatementList| contains any duplicate entries<ins>, unless the source text matched by this production is not strict mode code and the duplicate entries are only bound by FunctionDeclarations</ins>.
It is a Syntax Error if the LexicallyDeclaredNames of |StatementList| contains any duplicate entries<ins>, unless the source text matched by this |Block| is not strict mode code and the duplicate entries are only bound by FunctionDeclarations</ins>.
</li>
<li>
It is a Syntax Error if any element of the LexicallyDeclaredNames of |StatementList| also occurs in the VarDeclaredNames of |StatementList|.
Expand All @@ -50535,7 +50535,7 @@ <h1>Changes to `switch` Statement Static Semantics: Early Errors</h1>
<emu-grammar>SwitchStatement : `switch` `(` Expression `)` CaseBlock</emu-grammar>
<ul>
<li>
It is a Syntax Error if the LexicallyDeclaredNames of |CaseBlock| contains any duplicate entries<ins>, unless the source text matched by this production is not strict mode code and the duplicate entries are only bound by FunctionDeclarations</ins>.
It is a Syntax Error if the LexicallyDeclaredNames of |CaseBlock| contains any duplicate entries<ins>, unless the source text matched by this |SwitchStatement| is not strict mode code and the duplicate entries are only bound by FunctionDeclarations</ins>.
</li>
<li>
It is a Syntax Error if any element of the LexicallyDeclaredNames of |CaseBlock| also occurs in the VarDeclaredNames of |CaseBlock|.
Expand Down

0 comments on commit e7a369a

Please sign in to comment.