Skip to content

Model lexer doesn't handle CRLF correctly #15882

Closed
@emberian

Description

@emberian
Member

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

Activity

pczarn

pczarn commented on Jan 18, 2015

@pczarn
Contributor

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

I wrote a fix.

added
A-testsuiteArea: The testsuite used to check the correctness of rustc
on Jan 23, 2015
added a commit that references this issue on Apr 21, 2015

Auto merge of #24620 - pczarn:model-lexer-issues, r=cmr

7397bdc
added a commit that references this issue on Nov 16, 2023

Auto merge of rust-lang#15882 - Veykril:fix-config-keys, r=Veykril

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @steveklabnik@emberian@pczarn

      Issue actions

        Model lexer doesn't handle CRLF correctly · Issue #15882 · rust-lang/rust