On 10 Nov 2014, at 8:45 , Thierry Goubier <thierry.goubier@gmail.com> wrote:
2014-11-10 7:59 GMT+01:00 Henrik Johansen <henrik.s.johansen@veloxit.no <mailto:henrik.s.johansen@veloxit.no>>:
IMHO, the old compiler is right, whitespace should not be allowed in literals.
Whitespace can be \t or \n,\r which makes for strange literals (multilines) such as:
-
5
And would create ambiguity in some cases
is 4 - 5 two literals, or is it two literals separated by the - operator ?
For instance, 3 @ - 5 reads like gibberish.
But is 3 @ -5 a problem or not ? Why is the old compiler accepting -3 @ 5, and not 3 @ -5 ?
3 @ -5 is not a problem, and accepted by both. 3 @ - <space> 5 is what I object to (and Opal allows) 3 @-5 and/or 3 @- 5 is (rightly) disallowed by both. Cheers, Henry