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

Fixes for issues with multichar newline #2233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OMAlexB
Copy link

@OMAlexB OMAlexB commented Feb 19, 2024

Contains fixes for the issues described in #2216, have verified this solves all our problems in our own testing.

Added support for filling the buffer with enough room to peek the next x characters to confirm it is the new line or delimiter instead of relying on just checking the first character. This fill behavior and peeking ahead will only be used if either the newline or delimiter is over two characters long.

Add support for filling the buffer in a way that can be peeked ahead to confirm what state the parser should be in.
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.

2 participants