mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Rename some tokens
This commit is contained in:
parent
d4332760d8
commit
5c5bde47fb
209 changed files with 1107 additions and 1393 deletions
|
@ -324,10 +324,10 @@ fn generate_syntax_kinds(grammar: KindsSrc<'_>) -> Result<String> {
|
|||
|
||||
#[macro_export]
|
||||
macro_rules! T {
|
||||
#((#punctuation_values) => { $crate::SyntaxKind::#punctuation };)*
|
||||
#((#all_keywords_idents) => { $crate::SyntaxKind::#all_keywords };)*
|
||||
(lifetime) => { $crate::SyntaxKind::LIFETIME };
|
||||
(ident) => { $crate::SyntaxKind::IDENT };
|
||||
#([#punctuation_values] => { $crate::SyntaxKind::#punctuation };)*
|
||||
#([#all_keywords_idents] => { $crate::SyntaxKind::#all_keywords };)*
|
||||
[lifetime] => { $crate::SyntaxKind::LIFETIME };
|
||||
[ident] => { $crate::SyntaxKind::IDENT };
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue