Skip to content

Highlight errors inside string literals #1040

Closed
@gracjan

Description

@gracjan

C mode nicelly uses font-lock-warning-face for opening quote of a string with missing closing quote.

We could use font-lock-warning-face for the same and also when we discover illegal backslash sequence.

A related idea is to end string also when newline is detected. That should prevent flashing of colors on the screen when a string constant is opened.

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