Update: multi containers and arbitrary insertion.
Dan Bloomquist <[email protected]> Tue, 27 Mar 2018 20:03:32 -0700
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
So after a break, I thought: static auto const all_rule2 = x3::skip(x3::space)[bare_word >> +(dual2_rule | dual_map_rule)]; Now that compiles with the parser and it seems to be just what I'd want. but it will do dual2 rules then dual_map rules. Another dual2 text will stop it with success the same as this did: static auto const all_rule = x3::skip(x3::space)[ bare_word >> +dual2_rule >> +dual_map_rule]; So, I'm baffled. Best, Dan. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot