Skip to content

Make numeric suffix diagnostics consistent across radices #188

Description

@timfennis

Problem

Suffix checking is currently special-cased for binary literals. With no supported numeric suffixes, other radix forms can instead fall through into less helpful downstream parse errors.

Desired outcome

Centralize numeric suffix validation so all literal forms produce a consistent lexer diagnostic.

Location

ndc_lexer/src/number.rs, lex_number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions