Skip to content

Conversation

spyoungtech
Copy link
Owner

Fixes a bug where the EOF token could have an incorrect byte offset when the document ends with a multibyte character. This might happen in invalid documents or in documents that end with a multibyte character at the end of a trailing line comment with no newline.

@spyoungtech spyoungtech merged commit e86372a into main Feb 20, 2025
@spyoungtech spyoungtech deleted the fix-eof-offset branch June 30, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant