>>>>> "Y" == Yukihiro Matsumoto <matz / zetabits.com> writes:

Y>   p ("xx"*2).to_i

Y> it's parsed as

Y>   (p("xx"*2)).to_i

Y> which is not my intention most of the cases.  I hacked the parser last
Y> weekend (in 1.7.1 in the CVS), hopefully I succeeded to fix this one.

 It's normal ?


pigeon% ./ruby -ve 'def toto(a, b) end; toto (1, 2, 3)' 
ruby 1.7.1 (2001-06-01) [i686-linux]
-e:1: warning: toto (...) interpreted as method call
pigeon% 

pigeon% /usr/bin/ruby -ve 'def toto(a, b) end; toto (1, 2, 3)'
ruby 1.6.3 (2001-03-19) [i686-linux]
-e:1: warning: toto (...) interpreted as method call
-e:1:in `toto': wrong # of arguments(3 for 2) (ArgumentError)
        from -e:1
pigeon% 


Guy Decoux