develooper Front page | perl.perl5.porters | Postings from July 2009

Re: Rvalue given() blocks

Thread Previous | Thread Next
Vincent Pit
July 20, 2009 06:44
Re: Rvalue given() blocks
Message ID:

> This is extremely neat.
> However by looking at the perly.y part of the patch (I haven't looked
> at the other ones yet) I see that you add switch as a derivation for
> the term rule, but switch can begin with a label. And terms don't.
> I'd rather have a new rule
> switch : label given;
> and add given to term.

The problem in this approach is that it makes bison complain about some
reduce/reduce conflicts. I'm unsure if those are genuine or not.
If someone wants to have a look, the amended patch is attached.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About