Repository navigation
Conversation
allenflux
marked this pull request as ready for review
October 14, 2026 05:14
marzer
reviewed
Oct 15, 2026
marzer
left a comment
Owner
There was a problem hiding this comment.
Please add an entry to the CHANGELOG, then I'm happy to merge this 👍🏼
marzer
approved these changes
Nov 1, 2026
Generated with OpenAI Codex
marzer
force-pushed
the
allenflux/fix-incomplete-spaced-datetime-scan
branch
from
November 1, 2026 11:32
fdc0c40 to
c305959
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
Parsing
a = 2026-10-13 1\nreaches the value-trait scanner on a line terminator, violating its assertion. Treat an already-reached terminator like EOF so the existing date backtracking reports the normal parse error instead. This also works when exceptions are disabled.Add one regression to the existing user-feedback test, whose helper exercises string and stream inputs, and regenerate
toml.hpp.Is it related to an exisiting bug report or feature request?
Fixes #313.
Validation
Apple Clang 21, macOS arm64, C++17, warnings treated as errors:
.utf8locale spellings fail at startup on this Mac on both original and fixed code.tests/manipulating_arrays.cpp:235with the same stack-use-after-scope on original and fixed code; no full-suite sanitizer pass is claimed.git diff --checkpass.Pre-merge checklist
origin/masterhead inspected during preparationtoml.hpp(how-to)Prepared and tested with OpenAI Codex assistance.