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

Supply document position for error reporting #3

Closed
donmendelson opened this issue Jun 9, 2021 · 0 comments
Closed

Supply document position for error reporting #3

donmendelson opened this issue Jun 9, 2021 · 0 comments

Comments

@donmendelson
Copy link
Member

Markdown parser already supplies document position in parsing exceptions as line number plus character position in line. However, structural anomalies without a syntax error provide no reference. For example, an application may report that the name of an element is missing. There would be no way for a user to know which line in a markdown file caused the problem. Therefore, md-grammar should pass document position to applications even when there is no syntax error.

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

No branches or pull requests

1 participant