aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/grammar
diff options
context:
space:
mode:
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);