archives

« Bugzilla Issues Index

#2696 — chapter 13: misc editorial


----------------------------------------
In 13.2.3.6 "Runtime Semantics: IteratorBindingInitialization":

{1}
13.2.3.6 / group 12 / step 1:
Return the result of performing IteratorBindingInitialization for
/SingleNameBinding/ using /iterator/ /and/ /environment/ as the arguments.
De-italicize "and"

----------------------------------------
In 13.6.1.2 "Runtime Semantics: LabelledEvaluation":

{2}
13.6.1.2 / step 1:
Let /V/ = undefined.
Put 'undefined' in bold.

{3}
13.6.1.2 / step 2.f:
If /exprValue/ is false, Return NormalCompletion(/V/).
Put 'false' in bold.
s|Return|return|

{4}
13.6.1.2 / step 2.g:
Else if /exprValue/ is not true, then
Put 'true' in bold.

----------------------------------------
In 13.6.2.2 "Runtime Semantics: LabelledEvaluation":

{5}
13.6.2.2 / step 1:
Let /V/ = undefined.
Put 'undefined' in bold.

{6}
13.6.2.2 / step 2.c:
If /exprValue/ is false, return NormalCompletion(/V/).
Put 'false' in bold.

{7}
13.6.2.2 / step 2.d:
If /exprValue/ is not true, then
Put 'true' in bold.

----------------------------------------
In 13.6.3.2 "Runtime Semantics: LabelledEvaluation":

{8}
13.6.3.2 / group 3 / production:
IterationStatement : for ( LexicalDeclaration ; Expression_opt ; ...
Delete the semicolon immediately after LexicalDeclaration.

{9}
13.6.3.2 / group 3 / step 9:
If /isConst/ is *false*, let /perIterationLets/ be /boundNames/
otherwise let /perInterationLets/ be ( ).
s|Interation|Iteration|

----------------------------------------
In 13.6.3.4 "Runtime Semantics: CreatePerIterationEnvironment":

{10}
13.6.3.4 / para 1:
The abstract operation CreatePerIterationEnvironment with argument
/perIterationBindings/, is performed as follows:
Delete comma

{11}
13.6.3.4 / step 1.b:
Let /outer/ be /lastIterationEnv/'s /outer/ lexical environment.
De-italicize second "outer"

----------------------------------------
In 13.6.4.1 "Static Semantics: Early Errors":

{12}
13.6.4.1 / note:
... even if multiple levels of nested parenthesizes surround /Expression/.
s|parenthesizes|parentheses|

----------------------------------------
In 13.6.4.3 "Static Semantics: VarDeclaredNames":

{13}
13.6.4.3 / group 3 / production:
IterationStatement : for ( ForDeclaration in Expression ) Statement
Terminal 'in' should be in monospace bold.

----------------------------------------
In 13.7 "The continue Statement":

{14}
13.7 / Syntax / prod 1 / rhs 2:
continue [...] LabelIdentifier[...] ;
Italicize 'LabelIdentifier'

----------------------------------------
In 13.7.1 "Static Semantics: Early Errors":

{15,16}
13.7.1 / group 2 / item 1:
It is a Syntax Error if StringValue(/LabelIdentifier/) does not appear in
the /CurrentLabelSet/ of an enclosing (but not crossing function boundaries)
/IterationStatement/.
'CurrentLabelSet' isn't defined.
It's presumably a semantic routine, so shouldn't be italicized.

"IterationStatement" is sans-serif italic, should be serif italic.

----------------------------------------
In 13.7.2 "Runtime Semantics: Evaluation":

{17}
13.7.2 / group 2 / step 1:
Let label be the StringValue of /LabelIdentifier/.
Italicize 'label'

{18}
13.7.2 / group 2 / step 2:
Return Completion{[[type]]: `continue`, [[value]]: `empty`, [[target]]: label }.
Italicize "label"

----------------------------------------
In 13.8 "The break Statement":

{19}
13.8 / Syntax / prod 1 / rhs 2:
break [...] LabelIdentifier[?Yield] ;
Italicize 'LabelIdentifier'

----------------------------------------
In 13.8.1 "Static Semantics: Early Errors":

{20}
13.8.1 / group 2 / item 1:
It is a Syntax Error if StringValue(/LabelIdentifier/)does not appear in
the /CurrentLabelSet/ of an enclosing (but not crossing function boundaries)
/Statement/.
'CurrentLabelSet' isn't defined.
It's presumably a semantic routine, so shouldn't be italicized.

----------------------------------------
In 13.8.2 "Runtime Semantics: Evaluation":

{21}
13.8.2 / group 2 / step 1:
Let label be the StringValue of /LabelIdentifier/.
Italicize 'label'

{22}
13.8.2 / group 2 / step 2:
Return Completion{[[type]]: `break`, [[value]]: `empty`, [[target]]: label }.
Italicize "label"

----------------------------------------
In 13.11.2 "Static Semantics: LexicalDeclarations":

{23}
13.11.2 / group 5 / production:
DefaultClause : default : StatementList_opt
'DefaultClause' is sans-serif upright, should be in serif italic.
'StatementList' is sans-serif upright, should be in serif italic.

----------------------------------------
In 13.11.4 "Static Semantics: VarDeclaredNames":

{24}
13.11.4 / group 1 / production:
SwitchStatement : switch ( Expression ) CaseBlock
'CaseBlock' is sans-serif upright, should be in serif italic.

{25}
13.11.4 / group 3 / step 3:
Append to /names/ the elements of the VarDeclaredNames of the DefaultClause.
"DefaultClause" is in monospace, should be in italic.

----------------------------------------
In 13.11.5 "Runtime Semantics: CaseBlockEvaluation":

{26}
13.11.5 / group 1 / step 5.a:
Let /C/ be the next /CaseClause/ in /A/. If there is no such CaseClause,
return NormalCompletion(/V/).
"CaseClause" is in monospace, should be in italic.

{27}
13.11.5 / group 1 / step 5.b.ii:
If /R/.[[value]] is not empty, then let /V/ = /R/.[[value]].
Put 'empty' in sans-serif.

{28}
13.11.5 / group 2 / step 4.b.ii:
If /R/.[[value]] is not empty, then let /V/ = /R/.[[value]].
Put 'empty' in sans-serif.

{29}
13.11.5 / group 2 / step 6.b.ii.2:
If /R/.[[value]] is not empty, then let /V/ = /R/.[[value]].
Put 'empty' in sans-serif.

{30}
13.11.5 / group 2 / step 9:
If /R/.[[value]] is not empty, then let /V/ = /R/.[[value]].
Put 'empty' in sans-serif.

{31}
13.11.5 / group 2 / step 12.b:
If /R/.[[value]] is not empty, then let /V/ = /R/.[[value]].
Put 'empty' in sans-serif.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


opened separate bug 2838 for item {15} continue statement label static semantics

all the rest fixed in rev25 editor's draft


*** Bug 2889 has been marked as a duplicate of this bug. ***


confirmed fixed except for:
{3}, re-raised as Bug 2971, and
{15}, covered by Bug 2838.