I get a SIGSEGV on some examples, including the 'peek_not' example from the Playground. It is also crashing in the current version in the playground: https://lexy.foonathan.net/playground/ (select the "peek_not" example)
struct production
{
struct trailing_spaces
{
static constexpr auto name = "trailing spaces";
};
static constexpr auto rule
= LEXY_LIT("Hello World")
+ dsl::peek_not(dsl::while_one(dsl::ascii::space)).error<trailing_spaces> + dsl::eof;
};
The error there is:
output.s: /app/example.cpp:1729: Iterator lexy::_detail::min_range_end(Iterator, Iterator, Iterator) [Iterator = const char8_t *]: Assertion `begin <= end_a && begin <= end_b' failed.
Program terminated with signal: SIGSEGV
I get a SIGSEGV on some examples, including the 'peek_not' example from the Playground. It is also crashing in the current version in the playground: https://lexy.foonathan.net/playground/ (select the "peek_not" example)
The error there is: