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

set correct offset for multibyte tokens #248

Merged

Conversation

wader
Copy link
Sponsor Contributor

@wader wader commented Apr 2, 2024

Fixes issue with wrong offset in ParseError for unexpected token that has multibyte codepoints.
Add ParseError test for single and multi byte token.

compiler_test.go Outdated Show resolved Hide resolved
Fixes issue with wrong offset in ParseError for unexpected token that has multibyte codepoints.
Add ParseError test for single and multi byte token.
@wader wader force-pushed the parse-unexpected-multibyte-token-offset branch from 84d6e00 to 1b5ce7f Compare April 2, 2024 11:00
Copy link
Owner

@itchyny itchyny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@itchyny itchyny merged commit 976241f into itchyny:main Apr 2, 2024
11 checks passed
@wader wader deleted the parse-unexpected-multibyte-token-offset branch April 2, 2024 11:11
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.

None yet

2 participants