foonathan / lexy

C++ parsing DSL
https://lexy.foonathan.net
Boost Software License 1.0
991 stars 66 forks source link

Documentation error for dsl::until #161

Closed EmmanuelMess closed 1 year ago

EmmanuelMess commented 1 year ago

Documentation states:

Caution | until() does not care what input it consumes to find condition; it can be lexy::dsl::anything, including ill-formed Unicode. To restrict the input that is allowed before condition, use lexy::dsl::terminator(condition).while_(before).

But lexy::dsl::terminator does not have a while_() member. I think it was replaced with opt().