diff options
author | Edwin Cheng <[email protected]> | 2019-04-28 16:46:03 +0100 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-04-28 16:46:03 +0100 |
commit | d436ab05810c208b41a1b61896d3d87691cd9e99 (patch) | |
tree | 9c975657c7b460976c9cdec4dd374bd6e036d701 /crates/ra_parser/src/grammar | |
parent | 1dd3d9bc2d328e164c594f3d2022dcf174f907a9 (diff) |
Refactor parser handle mult-char punct internally
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r-- | crates/ra_parser/src/grammar/items.rs | 2 |
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 318fd69a1..97f8122a9 100644 --- a/crates/ra_parser/src/grammar/items.rs +++ b/crates/ra_parser/src/grammar/items.rs | |||
@@ -383,7 +383,7 @@ pub(crate) fn token_tree(p: &mut Parser) { | |||
383 | return; | 383 | return; |
384 | } | 384 | } |
385 | R_PAREN | R_BRACK => p.err_and_bump("unmatched brace"), | 385 | R_PAREN | R_BRACK => p.err_and_bump("unmatched brace"), |
386 | _ => p.bump(), | 386 | _ => p.bump_raw(), |
387 | } | 387 | } |
388 | } | 388 | } |
389 | p.expect(closing_paren_kind); | 389 | p.expect(closing_paren_kind); |