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

Add \r\n to string_continue grammar #1332

Closed
wants to merge 1 commit into from
Closed

Conversation

ModProg
Copy link

@ModProg ModProg commented Feb 20, 2023

Not sure if this is necessary, but I wasn't 100% sure that crlf line endings would be supported (though in hindsight would be strange if they weren't)

@ehuss
Copy link
Contributor

ehuss commented Feb 20, 2023

Thanks for the PR! I think I would prefer to add a holistic solution for CRLF normalization instead of trying to address individual places. There are various points noted in #626 about CRLF normalization (and bare CR handling) that should probably be added as a whole (I believe per rust-lang/rust#62865 that it is translated globally, but I haven't investigated in a long while).

@ModProg
Copy link
Author

ModProg commented Feb 20, 2023

makes sense, it was just that having only the \n here sounded incomplete. But as there is probably no case where CRLF will be preserved in source code there is a better solution than listing it.

@mattheww mattheww mentioned this pull request Jan 28, 2024
@ehuss
Copy link
Contributor

ehuss commented Mar 6, 2024

Closing as superseded by #1459. Thanks!

@ehuss ehuss closed this Mar 6, 2024
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.

None yet

2 participants