diff options
author | Aleksey Kladov <[email protected]> | 2019-02-11 16:28:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-11 18:02:19 +0000 |
commit | 58897dd8ddfd08ef494b7bc05ac15f5b1e3a4e1a (patch) | |
tree | fdd3ffbdca1ee8a9711d4080931e71f13d72e154 /crates/ra_mbe/src/mbe_parser.rs | |
parent | b356ab46f2b7482bf1ae0c0f6cd5a87ece8742bf (diff) |
assign ids to tokens
Diffstat (limited to 'crates/ra_mbe/src/mbe_parser.rs')
-rw-r--r-- | crates/ra_mbe/src/mbe_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/mbe_parser.rs b/crates/ra_mbe/src/mbe_parser.rs index 60e566ed2..58e2533f1 100644 --- a/crates/ra_mbe/src/mbe_parser.rs +++ b/crates/ra_mbe/src/mbe_parser.rs | |||
@@ -41,7 +41,7 @@ fn parse_subtree(tt: &tt::Subtree) -> Option<crate::Subtree> { | |||
41 | } | 41 | } |
42 | } | 42 | } |
43 | tt::Leaf::Punct(punct) => crate::Leaf::from(*punct).into(), | 43 | tt::Leaf::Punct(punct) => crate::Leaf::from(*punct).into(), |
44 | tt::Leaf::Ident(tt::Ident { text }) => { | 44 | tt::Leaf::Ident(tt::Ident { text, id: _ }) => { |
45 | crate::Leaf::from(crate::Ident { text: text.clone() }).into() | 45 | crate::Leaf::from(crate::Ident { text: text.clone() }).into() |
46 | } | 46 | } |
47 | tt::Leaf::Literal(tt::Literal { text }) => { | 47 | tt::Leaf::Literal(tt::Literal { text }) => { |