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

Nearley parser breaks with CRLF line endings #13

Open
cmil opened this issue Nov 5, 2018 · 0 comments
Open

Nearley parser breaks with CRLF line endings #13

cmil opened this issue Nov 5, 2018 · 0 comments
Assignees

Comments

@cmil
Copy link
Member

cmil commented Nov 5, 2018

When the text input uses CRLF (\r\n) line endings the parser takes very long (with just a few lines) or does not return at all. As a workaround example files should always use linefeeds (\n) only. For a proper solution the grammar should be modified to prevent the parser from stalling.

@cmil cmil self-assigned this Nov 5, 2018
cmil added a commit that referenced this issue Nov 5, 2018
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

No branches or pull requests

1 participant