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 improper handling of EOFs in lexer #989

Merged
merged 1 commit into from
Sep 23, 2023
Merged

fix improper handling of EOFs in lexer #989

merged 1 commit into from
Sep 23, 2023

Conversation

feds01
Copy link
Contributor

@feds01 feds01 commented Sep 22, 2023

This bug was being triggered in the interactive session where content usually doesn't have a \r\n or \n endings, and thus the lexer wouldn't go out of bounds when trying to lex numeric literal tokens.

@feds01 feds01 self-assigned this Sep 22, 2023
@feds01 feds01 added parser Issues related with parsing sub-system. bug Something isn't working labels Sep 22, 2023
@feds01 feds01 merged commit f9c8e9c into main Sep 23, 2023
1 check passed
@feds01 feds01 deleted the fix-interactive branch September 24, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser Issues related with parsing sub-system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants