Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/test_data/lexer/err/empty_exponent.rast')
-rw-r--r--crates/parser/test_data/lexer/err/empty_exponent.rast44
1 files changed, 30 insertions, 14 deletions
diff --git a/crates/parser/test_data/lexer/err/empty_exponent.rast b/crates/parser/test_data/lexer/err/empty_exponent.rast
index af03d73ced..d0a268b8c1 100644
--- a/crates/parser/test_data/lexer/err/empty_exponent.rast
+++ b/crates/parser/test_data/lexer/err/empty_exponent.rast
@@ -1,14 +1,14 @@
-FLOAT_NUMBER "0e" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "0e" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "0E" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "0E" error: Missing digits after the exponent symbol
WHITESPACE "\n\n"
-FLOAT_NUMBER "42e+" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42e+" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42e-" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42e-" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42E+" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42E+" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42E-" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42E-" error: Missing digits after the exponent symbol
WHITESPACE "\n\n"
INT_NUMBER "42"
DOT "."
@@ -30,19 +30,35 @@ DOT "."
IDENT "E"
MINUS "-"
WHITESPACE "\n\n"
-FLOAT_NUMBER "42.2e+" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2e+" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2e-" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2e-" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2E+" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2E+" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2E-" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2E-" error: Missing digits after the exponent symbol
WHITESPACE "\n\n"
-FLOAT_NUMBER "42.2e+f32" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2e+f32" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2e-f32" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2e-f32" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2E+f32" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2E+f32" error: Missing digits after the exponent symbol
WHITESPACE "\n"
-FLOAT_NUMBER "42.2E-f32" error: Missing digits after the exponent symbol
+FLOAT_NUMBER_PART "42"
+DOT "."
+FLOAT_NUMBER_PART "2E-f32" error: Missing digits after the exponent symbol
WHITESPACE "\n"