On Jan 21, 2009, at 10:49 AM, Martin Kühl wrote:

> the Ruby grammar states that the `<<` operator and `<<-`-style
> here-docs could always be distinguished. To augment (ha!) its
> behaviour in this respect, I added a negative lookahead after the
> pattern matching the `<<` operator so it could never match a `<<-`
> here-doc.

I don't think this patch is OK.

<<- isn't always a heredoc.  For example:

   >> a = [ ]
   => []
   >> a<<-1
   => [-1]

James Edward Gray II
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to