archives

« Bugzilla Issues Index

#2217 — spaces in productions


In 11.9.1 "Rules of Automatic Semicolon Insertion",
in the Note,
the second production's LHS is:
ContinueStatement [Yield]:

Delete the space before the "[Yield]" and insert it before the colon.


In 12.1.2 "Identifier Reference",
the second production's LHS is:
UnresolvedIdentifier [Yield] :

Delete the space before the "[Yield]".


Also, these LHSs should have a space before the colon:
12.1.5.7 / prod 5 LiteralPropertyName:
14.6.2.1 / prod 3 Statement:
14.6.2.2 / prod 1 AssignmentExpression:
15.1.0.4 / prod 3 ModuleItem:
15.1.0.9 / prod 3,4,5 ModuleItem:


Also, insert a space before the colon in:
14.1 / Syntax / prod 10 / lhs
FunctionStatementList[Yield]:

And delete the space before the square bracket in:
13.2.3 / Syntax / prod 7 / rhs 1
SingleNameBinding [?Yield, ?GeneratorParameter]
13.6 / Syntax / prod 1 / rhs 8
... Statement [?Yield, ?Return]
14.1 / Syntax / prod 8 / rhs 1
BindingElement [?Yield, ?GeneratorParameter]


fixed in rev25 editor's raft


confirmed fixed except for the item I re-raised as Bug 2968.