[Bug 27537] [XP31] Sequence on lhs of arrow operator

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27537

Botond BirĂ³ <botond23@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |botond23@gmail.com

--- Comment #7 from Botond BirĂ³ <botond23@gmail.com> ---
(In reply to Michael Kay from comment #4)

> (b) contrary to my comment #0, the syntax could probably become
> 
> [NN]    ArrowExpr ::= UnaryExpr "=>" ArrowFunctionSpecifier ArgumentList

I think one would also need to change the occurrence of the part after the
UnaryExpr:
-min occur zero- to fix parsing of simple unary expressions 
-max occur unbounded - to support chaining
So the EBNF should look sg. like:

[NN]    ArrowExpr ::= UnaryExpr ("=>" ArrowFunctionSpecifier ArgumentList)*

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 18 December 2014 09:50:36 UTC