Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve what() info for distinct directive #631

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

sehe
Copy link

@sehe sehe commented Dec 1, 2020

Like on similar directives, propagate the info from the subject parser
for improved debug/diagnostics.

The idea taken from and demonstrated here: https://stackoverflow.com/questions/65087474/how-to-get-boost-spirit-build-in-error-message-distinct-possible-symbols/65098082#65098082

With this change, user won't need to tediously create a custom my_distinct directive just to override the what() behaviour.

Like on similar directives, propagate the info from the subject parser
for improved debug/diagnostics.
@djowel djowel self-assigned this Dec 2, 2020
@djowel
Copy link
Collaborator

djowel commented Dec 2, 2020

"The Travis CI build is in progress"... will this ever finish?... :-/

@djowel
Copy link
Collaborator

djowel commented Dec 3, 2020

"The Travis CI build is in progress"... Sigh... I'll take the chance and merge this now.

@djowel djowel merged commit 44effce into boostorg:develop Dec 3, 2020
@sehe sehe deleted the improve_distinct_what branch December 14, 2020 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants