foonathan / lexy

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

Adding case for void state to production_value_callback #182

Closed MarcusVoelker closed 10 months ago

MarcusVoelker commented 10 months ago

We've had a problem where a void state would still trigger the first if-branch in this internal parsing function. Adding an is_void_v check fixes our problem, I don't know if that breaks any other expected function (that we don't use)

foonathan commented 10 months ago

Thanks.