aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/lexer/err/0056_empty_exponent.txt
blob: ab35e20a5cecda76637deaba0775c678fb0b3e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FLOAT_NUMBER 2 "0e"
WHITESPACE 1 "\n"
FLOAT_NUMBER 2 "0E"
WHITESPACE 2 "\n\n"
FLOAT_NUMBER 4 "42e+"
WHITESPACE 1 "\n"
FLOAT_NUMBER 4 "42e-"
WHITESPACE 1 "\n"
FLOAT_NUMBER 4 "42E+"
WHITESPACE 1 "\n"
FLOAT_NUMBER 4 "42E-"
WHITESPACE 2 "\n\n"
INT_NUMBER 2 "42"
DOT 1 "."
IDENT 1 "e"
PLUS 1 "+"
WHITESPACE 1 "\n"
INT_NUMBER 2 "42"
DOT 1 "."
IDENT 1 "e"
MINUS 1 "-"
WHITESPACE 1 "\n"
INT_NUMBER 2 "42"
DOT 1 "."
IDENT 1 "E"
PLUS 1 "+"
WHITESPACE 1 "\n"
INT_NUMBER 2 "42"
DOT 1 "."
IDENT 1 "E"
MINUS 1 "-"
WHITESPACE 2 "\n\n"
FLOAT_NUMBER 6 "42.2e+"
WHITESPACE 1 "\n"
FLOAT_NUMBER 6 "42.2e-"
WHITESPACE 1 "\n"
FLOAT_NUMBER 6 "42.2E+"
WHITESPACE 1 "\n"
FLOAT_NUMBER 6 "42.2E-"
WHITESPACE 2 "\n\n"
FLOAT_NUMBER 9 "42.2e+f32"
WHITESPACE 1 "\n"
FLOAT_NUMBER 9 "42.2e-f32"
WHITESPACE 1 "\n"
FLOAT_NUMBER 9 "42.2E+f32"
WHITESPACE 1 "\n"
FLOAT_NUMBER 9 "42.2E-f32"
WHITESPACE 1 "\n"
> error[0; 2) token("0e") msg(Missing digits after the exponent symbol)
> error[3; 5) token("0E") msg(Missing digits after the exponent symbol)
> error[7; 11) token("42e+") msg(Missing digits after the exponent symbol)
> error[12; 16) token("42e-") msg(Missing digits after the exponent symbol)
> error[17; 21) token("42E+") msg(Missing digits after the exponent symbol)
> error[22; 26) token("42E-") msg(Missing digits after the exponent symbol)
> error[53; 59) token("42.2e+") msg(Missing digits after the exponent symbol)
> error[60; 66) token("42.2e-") msg(Missing digits after the exponent symbol)
> error[67; 73) token("42.2E+") msg(Missing digits after the exponent symbol)
> error[74; 80) token("42.2E-") msg(Missing digits after the exponent symbol)
> error[82; 91) token("42.2e+f32") msg(Missing digits after the exponent symbol)
> error[92; 101) token("42.2e-f32") msg(Missing digits after the exponent symbol)
> error[102; 111) token("42.2E+f32") msg(Missing digits after the exponent symbol)
> error[112; 121) token("42.2E-f32") msg(Missing digits after the exponent symbol)