diff options
Diffstat (limited to 'crates/ra_parser/src/grammar/items.rs')
-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 3c717e5f9..6e23d9b72 100644 --- a/crates/ra_parser/src/grammar/items.rs +++ b/crates/ra_parser/src/grammar/items.rs | |||
@@ -389,7 +389,7 @@ pub(crate) fn mod_item_list(p: &mut Parser) { | |||
389 | // macro m($i:ident) {} | 389 | // macro m($i:ident) {} |
390 | fn macro_def(p: &mut Parser, m: Marker) { | 390 | fn macro_def(p: &mut Parser, m: Marker) { |
391 | p.expect(T![macro]); | 391 | p.expect(T![macro]); |
392 | p.expect(IDENT); | 392 | name_r(p, ITEM_RECOVERY_SET); |
393 | if p.at(T!['{']) { | 393 | if p.at(T!['{']) { |
394 | token_tree(p); | 394 | token_tree(p); |
395 | } else if !p.at(T!['(']) { | 395 | } else if !p.at(T!['(']) { |