Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/tests/ast_src.rs')
-rw-r--r--crates/syntax/src/tests/ast_src.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/crates/syntax/src/tests/ast_src.rs b/crates/syntax/src/tests/ast_src.rs
index 2f6932a1ad..f5a78e4119 100644
--- a/crates/syntax/src/tests/ast_src.rs
+++ b/crates/syntax/src/tests/ast_src.rs
@@ -71,7 +71,17 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
"super", "trait", "true", "try", "type", "unsafe", "use", "where", "while", "yield",
],
contextual_keywords: &["auto", "default", "existential", "union", "raw", "macro_rules"],
- literals: &["INT_NUMBER", "FLOAT_NUMBER", "CHAR", "BYTE", "STRING", "BYTE_STRING"],
+ literals: &[
+ "INT_NUMBER",
+ "FLOAT_NUMBER_START_0",
+ "FLOAT_NUMBER_START_1",
+ "FLOAT_NUMBER_START_2",
+ "FLOAT_NUMBER_PART",
+ "CHAR",
+ "BYTE",
+ "STRING",
+ "BYTE_STRING",
+ ],
tokens: &["ERROR", "IDENT", "WHITESPACE", "LIFETIME_IDENT", "COMMENT", "SHEBANG"],
nodes: &[
"SOURCE_FILE",
@@ -183,6 +193,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
"PATH",
"PATH_SEGMENT",
"LITERAL",
+ "FLOAT_LITERAL",
"RENAME",
"VISIBILITY",
"WHERE_CLAUSE",