rust/compiler/rustc_parse
Nicholas Nethercote d963686f5a Refactor cook_lexer_literal.
It deals with eight cases: ints, floats, and the six quoted types
(char/byte/strings). For ints and floats we have an early return, and
the other six types fall through to the code at the end, which makes the
function hard to read.

This commit rearranges things to avoid the early returns.
2022-11-04 14:24:41 +11:00
..
src Refactor cook_lexer_literal. 2022-11-04 14:24:41 +11:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00