From: matz@... (Yukihiro Matsumoto) Date: 2000-01-24T00:10:12+09:00 Subject: [ruby-talk:01165] Re: Is this expected behavior? Hi, In message "[ruby-talk:01161] Re: Is this expected behavior?" on 00/01/21, Dave Thomas writes: |In general, I get nervous when whitespace makes that big a difference, |but I know we're already got many situations like this. I suppose |throwing some kind of 'ambiguous parse' error is out of the question? The parser works very short sightedly. It is easy to throw warning on p [a] => p[a] or p([a]) ? because it is processed by single rule, and it does already. But p (a).foo is processed by multiple rules, and I don't to how to detect this as ambiguous. Any good idea? matz.