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.rast | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/crates/parser/test_data/lexer/err/empty_exponent.rast b/crates/parser/test_data/lexer/err/empty_exponent.rast index 73de4cac24..af03d73ced 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_START_0 "0e" error: Missing digits after the exponent symbol +FLOAT_NUMBER "0e" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_0 "0E" error: Missing digits after the exponent symbol +FLOAT_NUMBER "0E" error: Missing digits after the exponent symbol WHITESPACE "\n\n" -FLOAT_NUMBER_START_0 "42e+" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42e+" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_0 "42e-" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42e-" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_0 "42E+" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42E+" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_0 "42E-" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42E-" error: Missing digits after the exponent symbol WHITESPACE "\n\n" INT_NUMBER "42" DOT "." @@ -30,35 +30,19 @@ DOT "." IDENT "E" MINUS "-" WHITESPACE "\n\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2e+" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2e+" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2e-" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2e-" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2E+" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2E+" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2E-" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2E-" error: Missing digits after the exponent symbol WHITESPACE "\n\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2e+f32" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2e+f32" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2e-f32" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2e-f32" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2E+f32" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2E+f32" error: Missing digits after the exponent symbol WHITESPACE "\n" -FLOAT_NUMBER_START_2 "42" -DOT "." -FLOAT_NUMBER_PART "2E-f32" error: Missing digits after the exponent symbol +FLOAT_NUMBER "42.2E-f32" error: Missing digits after the exponent symbol WHITESPACE "\n" |