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

Statement parse errors now refer to spans #80

Merged
merged 2 commits into from
Apr 2, 2022

Conversation

tirix
Copy link
Collaborator

@tirix tirix commented Mar 26, 2022

This is a follow-up to my previous changes regarding parsing Metamath statements from a string.
The StmtParseError generated in that case now refer to spans in that string, rather than an index in the math tokens.
This makes error handling easier.

@tirix tirix requested a review from digama0 March 26, 2022 10:08
@tirix tirix merged commit 25f1f55 into metamath:main Apr 2, 2022
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