diff options
author | Josh Robson Chase <[email protected]> | 2019-01-23 17:15:47 +0000 |
---|---|---|
committer | Josh Robson Chase <[email protected]> | 2019-01-23 18:17:41 +0000 |
commit | 1cd6d6539a9d85bc44db364bb9165e6d9253790d (patch) | |
tree | 9700b48ecbf34496d45c5e08e27c113698fb1452 /crates/ra_syntax/src/yellow.rs | |
parent | 0b942cbcb071811a811aa35feaa80950c2415075 (diff) |
Add raw idents to lexer and parser
Diffstat (limited to 'crates/ra_syntax/src/yellow.rs')
-rw-r--r-- | crates/ra_syntax/src/yellow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/yellow.rs b/crates/ra_syntax/src/yellow.rs index a7bfb80e2..48f01128b 100644 --- a/crates/ra_syntax/src/yellow.rs +++ b/crates/ra_syntax/src/yellow.rs | |||
@@ -207,7 +207,7 @@ impl<'a> Iterator for SyntaxNodeChildren<'a> { | |||
207 | fn has_short_text(kind: SyntaxKind) -> bool { | 207 | fn has_short_text(kind: SyntaxKind) -> bool { |
208 | use crate::SyntaxKind::*; | 208 | use crate::SyntaxKind::*; |
209 | match kind { | 209 | match kind { |
210 | IDENT | LIFETIME | INT_NUMBER | FLOAT_NUMBER => true, | 210 | IDENT | RAW_IDENT | LIFETIME | INT_NUMBER | FLOAT_NUMBER => true, |
211 | _ => false, | 211 | _ => false, |
212 | } | 212 | } |
213 | } | 213 | } |