Skip to content

Fix recursive error placeholder replacement - #164

Merged
vprus merged 1 commit into
boostorg:developfrom
vprus:fix-placeholder-replacement
Oct 29, 2026
Merged

vprus merged 1 commit into
boostorg:developfrom
vprus:fix-placeholder-replacement

Conversation

@vprus

@vprus vprus commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Prevent replacement text from being scanned again for the same placeholder, which previously caused error::what() to loop when an invalid option contained %canonical_option%. Add a regression test for unknown_option.\n\nTested: compiled and ran test/exception_test.cpp with AppleClang 17.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vprus
vprus merged commit 5a0ed89 into boostorg:develop Oct 29, 2026
42 of 43 checks passed
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.

1 participant