aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/items.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-09-09 12:52:31 +0100
committerAleksey Kladov <[email protected]>2019-09-10 13:46:39 +0100
commit40170885e799ebdefb24ed00865cd1c7800af491 (patch)
tree1b7a6f1eaaa70e1db70dd5763377fd877636a55d /crates/ra_parser/src/grammar/items.rs
parente2ebb467bdf3ebb7d29260adb95c56594c6db282 (diff)
WIP: switch to fully decomposed tokens internally
Diffstat (limited to 'crates/ra_parser/src/grammar/items.rs')
-rw-r--r--crates/ra_parser/src/grammar/items.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs
index f27cc85ff..eff9d67e4 100644
--- a/crates/ra_parser/src/grammar/items.rs
+++ b/crates/ra_parser/src/grammar/items.rs
@@ -422,7 +422,7 @@ pub(crate) fn token_tree(p: &mut Parser) {
422 return; 422 return;
423 } 423 }
424 T![')'] | T![']'] => p.err_and_bump("unmatched brace"), 424 T![')'] | T![']'] => p.err_and_bump("unmatched brace"),
425 _ => p.bump_raw(), 425 _ => p.bump_any(),
426 } 426 }
427 } 427 }
428 p.expect(closing_paren_kind); 428 p.expect(closing_paren_kind);