Re: Question: Populate nested structs with semantic actions

Seth <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 16-03-17 21:51, Emiliano Canedo wrote:
> Hello,
>
> I'm working in a parser with spirit qi. The grammar is working good,
> but I have some problems to populate my struct instance with Semantic
> Actions. With the direct struct attributes, like "Request.id" and
> "Request.url", the code is working. But I don't know how to populate
> the attributes inside the nested struct "Info", neither how to push
> values in "Request.list". Here is my code (The string to parse could
> have the values in any order):

I've chosen to answer your question on stackoverflow:
https://stackoverflow.com/questions/42858759/populate-nested-structs-with-semantic-actions

------------------------------------------------------------------------------
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.