Re: setting attribute value from on_error handler

Joel de Guzman <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 07/04/2016 5:57 AM, Kent Hauser wrote:
> That’s what I tried, but with no luck. I can print my “ast” in the `on_error` handler,
> assign it `x3::_val(context) = ast`, but
> the `ast` from the previous iteration of the `parse_phrase` loop is what I see in the
> application code.
>
> For what it’s worth, I also update `first` with a resync parser & that works great.

Please (minimal) post some code for us to see what's going on.

Regards,
-- 
Joel de Guzman
http://www.ciere.com
http://boost-spirit.com
http://www.cycfi.com/


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