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

Improved error reporting #897

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Improved error reporting #897

merged 2 commits into from
Jan 16, 2025

Conversation

zslayton
Copy link
Contributor

This PR restores error reporting details that were lost in #892 and adds more using winnow's context.

Example:
image

It also makes top-level trailing whitespace optional so containers at the end of a stream don't need to be parsed twice at EOF.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zslayton zslayton merged commit 53561b4 into main Jan 16, 2025
35 checks passed
@zslayton zslayton deleted the improved-error-reporting branch January 16, 2025 20:15
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.

3 participants