diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-05-06 11:53:40 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-07-20 21:12:34 +0300 |
| commit | 395ee0b79f23b90593b01dd0a78451b8c93b0aa6 (patch) | |
| tree | 46544580dab78a9ce0e2ad59231c65709955ba2d /src/test/ui/thinlto | |
| parent | 95b1fe560d2bd8472f250fb8cfd2168520a58405 (diff) | |
| download | rust-395ee0b79f23b90593b01dd0a78451b8c93b0aa6.tar.gz rust-395ee0b79f23b90593b01dd0a78451b8c93b0aa6.zip | |
Introduce rustc_lexer
The idea here is to make a reusable library out of the existing rust-lexer, by separating out pure lexing and rustc-specific concerns, like spans, error reporting an interning. So, rustc_lexer operates directly on `&str`, produces simple tokens which are a pair of type-tag and a bit of original text, and does not report errors, instead storing them as flags on the token.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
