On Mar 2, 2009, at 22:30 , Thomer Gil wrote:

> Bug #1240: parser bug in 1.8.7 and 1.9.1p0
> http://redmine.ruby-lang.org/issues/show/1240
>
> Author: Thomer Gil
> Status: Open, Priority: Normal
> Category: core
> ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
>
> # ruby parser accepts first line, not the second.
> x y { "#{}".z { } }
> x y { "#{}".z do end }

1.8.6 as well... this also appears to be the minimimal reproduction.  
Remove anything and it parses. How confounding.

If/When this gets fixed, please respond with the patch or commit # so  
I can track it. Thanks.