diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-28 17:51:02 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-28 17:51:02 +0100 |
commit | 6618d1edc3edaad9ebdc216e6d7423ac9ac6a265 (patch) | |
tree | 6134e50e3b501e810c6da140257d7ccdca90602a /crates/ra_project_model/src/lib.rs | |
parent | 8138b1da4f1564913a1a22407c65e77aa5320d56 (diff) | |
parent | d436ab05810c208b41a1b61896d3d87691cd9e99 (diff) |
Merge #1213
1213: Make lexer produce only single character puncts r=matklad a=edwin0cheng
As discussed in Zulip, this PR change `lexer` to produce only single char punct.
* Remove producing `DOTDOTDOT, DOTDOTEQ, DOTDOT, COLONCOLON, EQEQ, FAT_ARROW, NEQ, THIN_ARROW` in lexer.
* Add required code in parser to make sure everythings works fine.
* Change some tests (Mainly because the `ast::token_tree` is different)
Note: i think the use of `COLON` in rust is too overloaded :)
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_project_model/src/lib.rs')
0 files changed, 0 insertions, 0 deletions