On 23 Jun 2008, at 18:34, Gautam Iyer wrote:
>> Doesn't that allow '+-3' ?
>
> This seems to go unnoticed in some other languages too (e.g. Python).


I assume that's because they support unary '+' as an operator. It's  
not part of the numeric constant:

 >>> print +(1+2)
3
 >>> print ++++++(1+2)
3
 >>> print ---1
-1

-- 
Andy Armstrong, Hexten




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui