Skip to content

Commit 3d78f21

Browse files
authored
Merge pull request #17 from jg-rp/refactor-lexer
Refactor `Lexer` to avoid `lex_string_factory`
2 parents 7a2bad6 + f208708 commit 3d78f21

File tree

3 files changed

+277
-287
lines changed

3 files changed

+277
-287
lines changed

jsonpath_rfc9535/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def __str__(self) -> str:
2727
if not self.token:
2828
return msg
2929

30+
# TODO: Pretty error messages with current line and visual pointer.
3031
line, column = self.token.position()
3132
return f"{msg}, line {line}, column {column}"
3233

0 commit comments

Comments
 (0)