diff options
author | Edwin Cheng <[email protected]> | 2019-12-22 03:11:10 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-12-22 03:11:10 +0000 |
commit | 737045c1eac87ab78f0042340f0311d3679158b0 (patch) | |
tree | 09c746fd60a8a1f6a950465ca37eacd6c2aa424a /crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt | |
parent | 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79 (diff) |
Use name instead of ident for macro 2.0 sytnax
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt b/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt index af1122bfa..3556099bd 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt +++ b/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.txt | |||
@@ -2,7 +2,8 @@ SOURCE_FILE@[0; 50) | |||
2 | MACRO_DEF@[0; 28) | 2 | MACRO_DEF@[0; 28) |
3 | MACRO_KW@[0; 5) "macro" | 3 | MACRO_KW@[0; 5) "macro" |
4 | WHITESPACE@[5; 6) " " | 4 | WHITESPACE@[5; 6) " " |
5 | IDENT@[6; 7) "m" | 5 | NAME@[6; 7) |
6 | IDENT@[6; 7) "m" | ||
6 | WHITESPACE@[7; 8) " " | 7 | WHITESPACE@[7; 8) " " |
7 | TOKEN_TREE@[8; 28) | 8 | TOKEN_TREE@[8; 28) |
8 | L_CURLY@[8; 9) "{" | 9 | L_CURLY@[8; 9) "{" |
@@ -27,7 +28,8 @@ SOURCE_FILE@[0; 50) | |||
27 | MACRO_DEF@[29; 49) | 28 | MACRO_DEF@[29; 49) |
28 | MACRO_KW@[29; 34) "macro" | 29 | MACRO_KW@[29; 34) "macro" |
29 | WHITESPACE@[34; 35) " " | 30 | WHITESPACE@[34; 35) " " |
30 | IDENT@[35; 36) "m" | 31 | NAME@[35; 36) |
32 | IDENT@[35; 36) "m" | ||
31 | TOKEN_TREE@[36; 49) | 33 | TOKEN_TREE@[36; 49) |
32 | TOKEN_TREE@[36; 46) | 34 | TOKEN_TREE@[36; 46) |
33 | L_PAREN@[36; 37) "(" | 35 | L_PAREN@[36; 37) "(" |