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.
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.