diff options
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 | ||||
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index fae371509..e373b3fa4 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -1761,6 +1761,7 @@ impl ToOwned for MacroCall { | |||
1761 | 1761 | ||
1762 | impl ast::NameOwner for MacroCall {} | 1762 | impl ast::NameOwner for MacroCall {} |
1763 | impl ast::AttrsOwner for MacroCall {} | 1763 | impl ast::AttrsOwner for MacroCall {} |
1764 | impl ast::DocCommentsOwner for MacroCall {} | ||
1764 | impl MacroCall { | 1765 | impl MacroCall { |
1765 | pub fn token_tree(&self) -> Option<&TokenTree> { | 1766 | pub fn token_tree(&self) -> Option<&TokenTree> { |
1766 | super::child_opt(self) | 1767 | super::child_opt(self) |
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 5bdcf9c84..01778ed46 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -552,7 +552,7 @@ Grammar( | |||
552 | "Name": (), | 552 | "Name": (), |
553 | "NameRef": (), | 553 | "NameRef": (), |
554 | "MacroCall": ( | 554 | "MacroCall": ( |
555 | traits: [ "NameOwner", "AttrsOwner" ], | 555 | traits: [ "NameOwner", "AttrsOwner","DocCommentsOwner" ], |
556 | options: [ "TokenTree", "Path" ], | 556 | options: [ "TokenTree", "Path" ], |
557 | ), | 557 | ), |
558 | "Attr": ( options: [ ["value", "TokenTree"] ] ), | 558 | "Attr": ( options: [ ["value", "TokenTree"] ] ), |