diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 3 | ||||
-rw-r--r-- | xtask/src/codegen/gen_syntax.rs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 72a4c10f5..a69ced5cc 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -76,7 +76,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
76 | "ERROR", | 76 | "ERROR", |
77 | "IDENT", | 77 | "IDENT", |
78 | "WHITESPACE", | 78 | "WHITESPACE", |
79 | "LIFETIME", | 79 | "LIFETIME_IDENT", |
80 | "COMMENT", | 80 | "COMMENT", |
81 | "SHEBANG", | 81 | "SHEBANG", |
82 | "L_DOLLAR", | 82 | "L_DOLLAR", |
@@ -202,6 +202,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
202 | "TYPE_PARAM", | 202 | "TYPE_PARAM", |
203 | "CONST_PARAM", | 203 | "CONST_PARAM", |
204 | "GENERIC_ARG_LIST", | 204 | "GENERIC_ARG_LIST", |
205 | "LIFETIME", | ||
205 | "LIFETIME_ARG", | 206 | "LIFETIME_ARG", |
206 | "TYPE_ARG", | 207 | "TYPE_ARG", |
207 | "ASSOC_TYPE_ARG", | 208 | "ASSOC_TYPE_ARG", |
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs index 44460effa..eb524d85a 100644 --- a/xtask/src/codegen/gen_syntax.rs +++ b/xtask/src/codegen/gen_syntax.rs | |||
@@ -380,7 +380,7 @@ fn generate_syntax_kinds(grammar: KindsSrc<'_>) -> Result<String> { | |||
380 | macro_rules! T { | 380 | macro_rules! T { |
381 | #([#punctuation_values] => { $crate::SyntaxKind::#punctuation };)* | 381 | #([#punctuation_values] => { $crate::SyntaxKind::#punctuation };)* |
382 | #([#all_keywords_idents] => { $crate::SyntaxKind::#all_keywords };)* | 382 | #([#all_keywords_idents] => { $crate::SyntaxKind::#all_keywords };)* |
383 | [lifetime] => { $crate::SyntaxKind::LIFETIME }; | 383 | [lifetime_ident] => { $crate::SyntaxKind::LIFETIME_IDENT }; |
384 | [ident] => { $crate::SyntaxKind::IDENT }; | 384 | [ident] => { $crate::SyntaxKind::IDENT }; |
385 | [shebang] => { $crate::SyntaxKind::SHEBANG }; | 385 | [shebang] => { $crate::SyntaxKind::SHEBANG }; |
386 | } | 386 | } |