Boost logo

Proto :

Subject: Re: [proto] Inter-domain interaction - Question and bug ?
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-02-26 06:06:05


On 26/02/11 10:50, Eric Niebler wrote:
> Sure. This is pretty easy. I suggest you introduce an additional unary
> node with a special tag that is recognized by your grammar. For
> instance, exponentbits currently returns:
>
> unary_expr< exponentbits, arg>
>
> Instead, make it return:
>
> unary_expr< exponentbits, unary_expr< hidedomain, arg> >
>
> Now, add the following alternate to your grammar:
>
> unary_expr< hidedomain, _>
>
> Make sense?
Eric, once again, your brain > my brain.
I'll test this asap.


Proto list run by eric at boostpro.com