Re: SpiritX3 two strings with attr last
Dainis Polis <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <CAPszse=w6wZHTfbLY6eG0C+jH39_4JkfCv_-it61HYvkmacgBA@mail.gmail.com> |
2016-06-30 8:45 GMT+03:00 Dainis Polis <[email protected]>: > x3::rule<class str_rule,std::string> str_rule = "str_rule"; > > auto str_rule_def x3::string("string1") >> > x3::attr(std::string("string2")); > > When parsing string "string1", compount rule attribute is "string2", > why? > Any solution to get "string1string2"? > > > > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Spirit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spirit-general