On Mon, Apr 04, 2005 at 09:01:20PM -0400, Stevan Little wrote:
> eval 'sub foobar { return if 1; }';

I've fixed everything except this.  I'm not exactly sure how the postfix
form of "if" is supposed to work here, because the first thing the
parser tries is to parse it as return(if(1)), as a valid expression itself.

As Perl6 parsing is supposed to require no lookaheads, I wonder how
we are to tackle this.  Ideas?

Thanks,
/Autrijus/

Attachment: pgpUVlVC5pY1U.pgp
Description: PGP signature

Reply via email to