aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/parser/inline/ok
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-04-28 17:51:02 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-04-28 17:51:02 +0100
commit6618d1edc3edaad9ebdc216e6d7423ac9ac6a265 (patch)
tree6134e50e3b501e810c6da140257d7ccdca90602a /crates/ra_syntax/tests/data/parser/inline/ok
parent8138b1da4f1564913a1a22407c65e77aa5320d56 (diff)
parentd436ab05810c208b41a1b61896d3d87691cd9e99 (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_syntax/tests/data/parser/inline/ok')
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
index 5291f59d5..6d24f214e 100644
--- a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt
@@ -102,7 +102,8 @@ SOURCE_FILE@[0; 167)
102 L_PAREN@[138; 139) "(" 102 L_PAREN@[138; 139) "("
103 R_PAREN@[139; 140) ")" 103 R_PAREN@[139; 140) ")"
104 WHITESPACE@[140; 141) " " 104 WHITESPACE@[140; 141) " "
105 FAT_ARROW@[141; 143) "=>" 105 EQ@[141; 142) "="
106 R_ANGLE@[142; 143) ">"
106 WHITESPACE@[143; 144) " " 107 WHITESPACE@[143; 144) " "
107 TOKEN_TREE@[144; 146) 108 TOKEN_TREE@[144; 146)
108 L_CURLY@[144; 145) "{" 109 L_CURLY@[144; 145) "{"