]> git.lizzy.rs Git - rust.git/commit
Switch numeric suffix parsing to use the new system.
authorHuon Wilson <dbau.pp+github@gmail.com>
Wed, 19 Nov 2014 09:22:54 +0000 (20:22 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Wed, 19 Nov 2014 13:02:42 +0000 (00:02 +1100)
commit606a309d4aeb09ba88a0962c633a5b3fd4b300f6
tree208fe1e045a2c0a1bd50df361739b5524737eb6a
parent6679595853705ca11f64984a055be60233321a4a
Switch numeric suffix parsing to use the new system.

This moves errors and all handling of numeric suffixes into the parser
rather than the lexer.
src/libsyntax/parse/lexer/mod.rs
src/libsyntax/parse/mod.rs
src/libsyntax/parse/parser.rs
src/test/compile-fail/bad-lit-suffixes.rs