Skip to content

String/character escape rules do not match the reference #29470

Closed
@keleshev

Description

@keleshev

The reference does not allow \' escape inside strings, and neither \" inside character literals. This makes sense, as the backslash is redundant in these cases. However, the compiler accepts both: http://is.gd/CDBzp1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions