On Tue, Nov 27, 2007 at 08:10:15PM +0200, Allison Randal wrote: > Patrick R. Michaud via RT wrote: > >On Sun Jul 23 06:35:21 2006, coke wrote: > >>The TGE grammar doesn't deal with embedded }'s: > >> > >>Invalid: > >> > >>transform a (b) { > >> # do nothing} > >>} > >> > >>transform a (b) { > >> # do {nothing} > >>} > > > >If we still need this, I vote that tge transforms require the > >closing brace to be at the beginning of a line (possibly preceded by > >whitespace). > > Won't work, because the body of a transform could be written in, say, > Perl 6, and so could have closing braces (at the beginning of a line > with or without preceding whitespace) in the body of the rule.
Sorry I wasn't clear -- I was thinking we would use the closing-brace-at-beginning-of-line primarily when the transform had :language('PIR') . Pm