Re: X3 automatic attribute assignment
Maarten Verhage <[email protected]> Sat, 16 Jun 2018 19:20:02 +0000
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <AM5P192MB01318D8DBF801CC458DBC412BA730@AM5P192MB0131.EURP192.PROD.OUTLOOK.COM> |
> >----- Original Message ----- >From: "Seth" <[email protected]> >To: "Spirit General Mailing List" <[email protected]> >Sent: Saturday, June 16, 2018 20:38 >Subject: Re: [Spirit-general] X3 automatic attribute assignment > >On 16-06-18 14:54, Maarten Verhage wrote: >> This is how it’s designed to be, correct? > >Absolutely > >> I wonder if there is more in Spirit X3 to control whether the attributes >> are >> automatically assigned or not. >Use `x3::rule<>` with the third template argument set to `true` Thanks Seth. It's clear to me now. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot