Skip to content

Model lexer doesn't handle CRLF correctly #15882

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
emberian opened this issue Jul 21, 2014 · 1 comment · Fixed by #24620
Closed

Model lexer doesn't handle CRLF correctly #15882

emberian opened this issue Jul 21, 2014 · 1 comment · Fixed by #24620
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc

Comments

@emberian
Copy link
Member

Tracking issue for the lexer test failing test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs

@pczarn
Copy link
Contributor

pczarn commented Jan 18, 2015

Regular comments can contain anything before LF, including CR. Doc comments don't accept CR. Seems intentional.

I wrote a fix.

@steveklabnik steveklabnik added the A-testsuite Area: The testsuite used to check the correctness of rustc label Jan 23, 2015
bors added a commit that referenced this issue Apr 21, 2015
bors added a commit to rust-lang-ci/rust that referenced this issue Nov 16, 2023
minor: Fix import preference config keys
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants