23/05/2001 11:30:07, Christian Szegedy <szegedy / or.uni-bonn.de> wrote:

>Guy Decoux wrote:
>
>> Not valid, ruby don't understand 'a == b == c'
>
>I would have almost answered the same.
>
>My question is:
>
>Shouldn't it be parsed as (a==b)==c, which, of course
>would produce a runtime error but no parse error...?
>

but its not even a runtime error.  (1 == 1) == 1 evaluates as false, as it should (true != 1). 

|| benjamin w jubb - montreal, quebec, canada
||===========================================
|| fight for freedom
|| fight for CANADIAN WORLD DOMINATION
|| http://standonguard.com