diff options
Diffstat (limited to 'crates/syntax/test_data/lexer/err/0056_empty_exponent.txt')
-rw-r--r-- | crates/syntax/test_data/lexer/err/0056_empty_exponent.txt | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt b/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt new file mode 100644 index 000000000..6a645a6a4 --- /dev/null +++ b/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt | |||
@@ -0,0 +1,62 @@ | |||
1 | FLOAT_NUMBER 2 "0e" | ||
2 | WHITESPACE 1 "\n" | ||
3 | FLOAT_NUMBER 2 "0E" | ||
4 | WHITESPACE 2 "\n\n" | ||
5 | FLOAT_NUMBER 4 "42e+" | ||
6 | WHITESPACE 1 "\n" | ||
7 | FLOAT_NUMBER 4 "42e-" | ||
8 | WHITESPACE 1 "\n" | ||
9 | FLOAT_NUMBER 4 "42E+" | ||
10 | WHITESPACE 1 "\n" | ||
11 | FLOAT_NUMBER 4 "42E-" | ||
12 | WHITESPACE 2 "\n\n" | ||
13 | INT_NUMBER 2 "42" | ||
14 | DOT 1 "." | ||
15 | IDENT 1 "e" | ||
16 | PLUS 1 "+" | ||
17 | WHITESPACE 1 "\n" | ||
18 | INT_NUMBER 2 "42" | ||
19 | DOT 1 "." | ||
20 | IDENT 1 "e" | ||
21 | MINUS 1 "-" | ||
22 | WHITESPACE 1 "\n" | ||
23 | INT_NUMBER 2 "42" | ||
24 | DOT 1 "." | ||
25 | IDENT 1 "E" | ||
26 | PLUS 1 "+" | ||
27 | WHITESPACE 1 "\n" | ||
28 | INT_NUMBER 2 "42" | ||
29 | DOT 1 "." | ||
30 | IDENT 1 "E" | ||
31 | MINUS 1 "-" | ||
32 | WHITESPACE 2 "\n\n" | ||
33 | FLOAT_NUMBER 6 "42.2e+" | ||
34 | WHITESPACE 1 "\n" | ||
35 | FLOAT_NUMBER 6 "42.2e-" | ||
36 | WHITESPACE 1 "\n" | ||
37 | FLOAT_NUMBER 6 "42.2E+" | ||
38 | WHITESPACE 1 "\n" | ||
39 | FLOAT_NUMBER 6 "42.2E-" | ||
40 | WHITESPACE 2 "\n\n" | ||
41 | FLOAT_NUMBER 9 "42.2e+f32" | ||
42 | WHITESPACE 1 "\n" | ||
43 | FLOAT_NUMBER 9 "42.2e-f32" | ||
44 | WHITESPACE 1 "\n" | ||
45 | FLOAT_NUMBER 9 "42.2E+f32" | ||
46 | WHITESPACE 1 "\n" | ||
47 | FLOAT_NUMBER 9 "42.2E-f32" | ||
48 | WHITESPACE 1 "\n" | ||
49 | > error0..2 token("0e") msg(Missing digits after the exponent symbol) | ||
50 | > error3..5 token("0E") msg(Missing digits after the exponent symbol) | ||
51 | > error7..11 token("42e+") msg(Missing digits after the exponent symbol) | ||
52 | > error12..16 token("42e-") msg(Missing digits after the exponent symbol) | ||
53 | > error17..21 token("42E+") msg(Missing digits after the exponent symbol) | ||
54 | > error22..26 token("42E-") msg(Missing digits after the exponent symbol) | ||
55 | > error53..59 token("42.2e+") msg(Missing digits after the exponent symbol) | ||
56 | > error60..66 token("42.2e-") msg(Missing digits after the exponent symbol) | ||
57 | > error67..73 token("42.2E+") msg(Missing digits after the exponent symbol) | ||
58 | > error74..80 token("42.2E-") msg(Missing digits after the exponent symbol) | ||
59 | > error82..91 token("42.2e+f32") msg(Missing digits after the exponent symbol) | ||
60 | > error92..101 token("42.2e-f32") msg(Missing digits after the exponent symbol) | ||
61 | > error102..111 token("42.2E+f32") msg(Missing digits after the exponent symbol) | ||
62 | > error112..121 token("42.2E-f32") msg(Missing digits after the exponent symbol) | ||