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

fix(apollo-parser): unterminated string with unicode and line terminators #320

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

lrlna
Copy link
Member

@lrlna lrlna commented Sep 30, 2022

We were missing adding a line terminator character to the errors created by the lexer in case of a unterminated string. This showed up incidentally while dealing with unicode and the fact that it's of a different byte length than most other characters.

fixes #318

lrlna and others added 2 commits September 29, 2022 20:54
…tors

We were missing adding a line terminator character to the errors created by the lexer in case of a unterminated string. This showed up incidentally while dealing with unicode and the fact that it's of a different byte length than most other characters.

fixes #318
@lrlna lrlna self-assigned this Sep 30, 2022
@lrlna lrlna merged commit 456db82 into main Sep 30, 2022
@lrlna lrlna deleted the fix-318 branch September 30, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lexer is panicking with some weird unicode chars
1 participant