Skip to content

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

Merged
lagru merged 19 commits intomainfrom
parsing-problem-source-lines
Sep 21, 2024
Merged

Point to precise line in parsed source for parsing problems#10
lagru merged 19 commits intomainfrom
parsing-problem-source-lines

Conversation

@lagru
Copy link
Copy Markdown
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 functionality label Sep 18, 2024
@lagru lagru mentioned this pull request Sep 18, 2024
28 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
@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 functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant