Skip to content

gh-153569: report tokenizer errors without rewinding the scanner - #143

Closed
pablogsal wants to merge 1 commit into
gh-153569-tokenizer-remove-lookupsfrom
gh-153569-tokenizer-diagnostic-state
Closed

pablogsal wants to merge 1 commit into
gh-153569-tokenizer-remove-lookupsfrom
gh-153569-tokenizer-diagnostic-state

Conversation

@pablogsal

Copy link
Copy Markdown
Owner

Give tokenizer errors their own reporting location and source span, including unterminated-string and encoding-error context. Error reporting no longer rewinds the scanner cursor, line start, or line number.

Depends on #142.

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