aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs1
-rw-r--r--crates/ra_syntax/src/grammar.ron2
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 19a3362ca..89d3a35c5 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
1762impl ast::NameOwner for MacroCall {} 1762impl ast::NameOwner for MacroCall {}
1763impl ast::AttrsOwner for MacroCall {} 1763impl ast::AttrsOwner for MacroCall {}
1764impl ast::DocCommentsOwner for MacroCall {}
1764impl MacroCall { 1765impl 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 011ef0616..c7abdd6dc 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"] ] ),