From 2efdf41bdb178ebf1ff0f8e3b335f491c84d7fa3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 11 Feb 2019 19:23:13 +0300 Subject: make macro a NameOwner --- crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt | 3 ++- .../ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/tests/data/parser/inline') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt index 62528ca47..6ccd0ffc3 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0062_mod_contents.txt @@ -19,7 +19,8 @@ SOURCE_FILE@[0; 70) IDENT@[12; 23) "macro_rules" EXCL@[23; 24) WHITESPACE@[24; 25) - IDENT@[25; 28) "foo" + NAME@[25; 28) + IDENT@[25; 28) "foo" WHITESPACE@[28; 29) TOKEN_TREE@[29; 31) L_CURLY@[29; 30) diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt index 63b230091..ac789651a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0096_no_semi_after_block.txt @@ -92,7 +92,8 @@ SOURCE_FILE@[0; 167) IDENT@[109; 120) "macro_rules" EXCL@[120; 121) WHITESPACE@[121; 122) - IDENT@[122; 126) "test" + NAME@[122; 126) + IDENT@[122; 126) "test" WHITESPACE@[126; 127) TOKEN_TREE@[127; 152) L_CURLY@[127; 128) -- cgit v1.2.3