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

Avoid StringIndexOutOfBoundException #2309

Merged
merged 6 commits into from
Dec 17, 2018
Merged

Avoid StringIndexOutOfBoundException #2309

merged 6 commits into from
Dec 17, 2018

Conversation

scadgek
Copy link
Contributor

@scadgek scadgek commented Jun 14, 2018

This fixes #2138 (comment).
Clearly it's been an oversight, since the same code has been fixed for CodePoint8Bit in this commit: ac9f753

This fixes antlr#2138 (comment). Clearly it's been an oversight, since the same code has been fixed for CodePoint8Bit in this commit: antlr@ac9f753
@parrt
Copy link
Member

parrt commented Nov 8, 2018

Hi. Can you help me to understand these changes in the code? I'm not very familiar with the UTF-16 stuff. thanks! Oh, I see. There is a similar code fragment elsewhere in the same file. Hmm...I'll compare.

@parrt parrt added this to the 4.7.2 milestone Dec 17, 2018
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.

StringIndexOutOfBoundException in Lexer.notifyListeners
2 participants