Re: (follow up to): parse iterator going past end()

Joel de Guzman <[email protected]> Mon, 4 May 2020 06:33:31 +0800
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 30/04/2020 6:40 PM, Seth wrote:
> Indeed the bug arises when the input ends in a skippable:
> 
>     #include <boost/spirit/home/x3.hpp>
>     namespace x3 = boost::spirit::x3;
> 
>     int main() {
>          char const* x = " ";
>          x3::phrase_parse(x, x+1, x3::seek['!'], x3::space);
>     }
> 
> 
> I suspect that there is a post-skip call somewhere that should be guarded with an eoi 
> condition.

[snip]

Can you please file a github issue so this won't be missed? Thanks!

Regards,
-- 
Joel


_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general