aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:24:39 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:24:39 +0000
commit77ccac74f94fbe387fc587d46f9d93f04fce3644 (patch)
treef0cc15c1fb77ca429717fcb1d5975f5cb5622c9e /crates/ra_syntax/src/grammar
parenta180674986df6ff4c1934dc92f29b49e607477db (diff)
parent2efdf41bdb178ebf1ff0f8e3b335f491c84d7fa3 (diff)
Merge #790
790: make macro-rules eq r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/grammar')
-rw-r--r--crates/ra_syntax/src/grammar/items.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/items.rs b/crates/ra_syntax/src/grammar/items.rs
index a61f260cf..4b962c1f3 100644
--- a/crates/ra_syntax/src/grammar/items.rs
+++ b/crates/ra_syntax/src/grammar/items.rs
@@ -347,7 +347,9 @@ fn macro_call(p: &mut Parser) -> BlockLike {
347 347
348pub(super) fn macro_call_after_excl(p: &mut Parser) -> BlockLike { 348pub(super) fn macro_call_after_excl(p: &mut Parser) -> BlockLike {
349 p.expect(EXCL); 349 p.expect(EXCL);
350 p.eat(IDENT); 350 if p.at(IDENT) {
351 name(p);
352 }
351 match p.current() { 353 match p.current() {
352 L_CURLY => { 354 L_CURLY => {
353 token_tree(p); 355 token_tree(p);