foonathan / lexy

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

Allow scanners to construct generic errors #134

Closed nickelpro closed 1 year ago

nickelpro commented 1 year ago

Does what it says on the tin

Sometimes we want to include information learned at runtime in an error message, for that we need to use generic errors.

foonathan commented 1 year ago

Good idea, thanks.