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

Point to precise line in parsed source for parsing problems #10

Merged
merged 19 commits into from
Sep 21, 2024

Conversation

lagru
Copy link
Member

@lagru lagru commented Sep 18, 2024

When a grammar error occurs or an import for a doctype isn't known, point to the exact line of in the parsed sources.

@lagru lagru added the enhancement New feature or request label Sep 18, 2024
@lagru lagru mentioned this pull request Sep 18, 2024
20 tasks
@lagru lagru changed the title Point to precise line in parsed source during parsing Point to precise line in parsed source for parsing problems Sep 18, 2024
@lagru lagru added this to the v0.3 milestone Sep 20, 2024
Collapse multiple replaced special chars to one "_" and add doctests.
Instead just alias to typing.Any. This should make it a bit easier to
addopt docstub gradually.
avoids confusion with the parent classes `transform` method.
Otherwise, this fails on Windows which returns "file\\with\\..."
@lagru lagru marked this pull request as ready for review September 20, 2024 20:40
@lagru lagru merged commit f014783 into main Sep 21, 2024
5 checks passed
@lagru lagru deleted the parsing-problem-source-lines branch September 21, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant