From: Adriano Ferreira Date: 2006-01-25T03:18:43+09:00 Subject: Re: Line breaking in Ruby can be dangerous On 1/24/06, Daniel Sch�le wrote: > because of ( > > I would also expect either a SyntaxError or correct result (3) > > the latter seems more natural to me A SyntaxError here may seem unnatural for Ruby syntax rules. * Expressions ("1+2", "obj.foo()") are statements. * Statements can be separated by ";" or line ends. * Parenthesized expressions may contain assignments separated by line ends. So there is no ground for a syntax error in these cases. Adriano.