Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/tests/sourcegen_ast.rs')
| -rw-r--r-- | crates/syntax/src/tests/sourcegen_ast.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/syntax/src/tests/sourcegen_ast.rs b/crates/syntax/src/tests/sourcegen_ast.rs index 33bf2c0cba..4cfb8075cb 100644 --- a/crates/syntax/src/tests/sourcegen_ast.rs +++ b/crates/syntax/src/tests/sourcegen_ast.rs @@ -462,10 +462,6 @@ fn generate_syntax_kinds(grammar: KindsSrc<'_>) -> String { [lifetime_ident] => { $crate::SyntaxKind::LIFETIME_IDENT }; [ident] => { $crate::SyntaxKind::IDENT }; [shebang] => { $crate::SyntaxKind::SHEBANG }; - [float_number_part] => { $crate::SyntaxKind::FLOAT_NUMBER_PART }; - [float_number_start_0] => { $crate::SyntaxKind::FLOAT_NUMBER_START_0 }; - [float_number_start_1] => { $crate::SyntaxKind::FLOAT_NUMBER_START_1 }; - [float_number_start_2] => { $crate::SyntaxKind::FLOAT_NUMBER_START_2 }; } pub use T; }; @@ -589,7 +585,7 @@ impl Field { fn lower(grammar: &Grammar) -> AstSrc { let mut res = AstSrc { - tokens: "Whitespace Comment String ByteString IntNumber FloatNumberPart Char Byte Ident" + tokens: "Whitespace Comment String ByteString IntNumber FloatNumber Char Byte Ident" .split_ascii_whitespace() .map(|it| it.to_string()) .collect::<Vec<_>>(), |