Re: How to force attribute propagation in x3 when using semantic actions

Alberto Luaces <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Seth writes:

> On 15-12-17 12:40, Alberto Luaces wrote:
>
>  I have read that this is solved in Qi using the %= operator, but I do
> not know how to do the same in x3.
>
> You can pass the 3rd template argument of `x3::rule<>` as `true`

I tried before posting, but it makes no difference for me:

http://coliru.stacked-crooked.com/a/b58b992c2a5df373

-- 
Alberto


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.