On Wed, Jan 21, 2009 at 18:43, James Gray <[email protected]> wrote: > 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]
Ah, you're right, I missed that. Martin _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/listinfo/textmate-dev
