Removing the space in `a+ +b`?

akxe at akxe at
Fri Jun 28 16:02:54 UTC 2019

Why would you need it, there should not be need to type the second + as if 
the first is number it will be added anyway.

---------- Původní zpráva ----------
Od: Isiah Meadows 
Datum: 28. 6. 2019 v 17:44:35
Předmět: Removing the space in `a+ +b`?

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] 


Isiah Meadows
contact at at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list