Currently, the production `a+ +b` requires a space to disambiguate it from
the increment operator. However, `a++b` is not itself valid, as the postfix
increment cannot be immediately followed by a bare identifier on the same
line, nor can a prefix operator be preceded by one on the same line. Could
the grammar be amended to include this production and make it evaluate
equivalently to `a+ +b`

AdditionExpression :: AdditionExpression `++` [no LineTerminator here]
UnaryExpression
-- 
-----

Isiah Meadows
cont...@isiahmeadows.com
www.isiahmeadows.com
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to