]> git.lizzy.rs Git - rust.git/commit
Auto merge of #60763 - matklad:tt-parser, r=petrochenkov
authorbors <bors@rust-lang.org>
Thu, 16 May 2019 04:15:12 +0000 (04:15 +0000)
committerbors <bors@rust-lang.org>
Thu, 16 May 2019 04:15:12 +0000 (04:15 +0000)
commit024c25dc7941795b84d76b6371527f31c361a329
tree11460b37f2e3db156ccc67c82ec29ad7a2957040
parent49d139c64b69ec5289f9f81db885ecfc2c7a8366
parente249f2e526cca687b78a766769c481cfb638f02e
Auto merge of #60763 - matklad:tt-parser, r=petrochenkov

Move token tree related lexer state to a separate struct

Just a types-based refactoring.

We only used a bunch of fields when tokenizing into a token tree, so let's move them out of the base lexer
src/libsyntax/parse/lexer/mod.rs
src/libsyntax/parse/mod.rs