Skip to content

Font-lock confused by apparent float suffix in non-decimal literal #540

Open
@timmc

Description

@timmc

The string 0xf64 is a hex literal (for the number 3940), but rust-mode highlights the f64 as a type suffix, making it appear to be a floating point number. This also happens when there are leading digits, such as in 0x1234f64.

Not a huge deal, but maybe something that you want to fix.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions