diff options
author | Dmitry <[email protected]> | 2020-08-14 19:32:05 +0100 |
---|---|---|
committer | Dmitry <[email protected]> | 2020-08-14 19:32:05 +0100 |
commit | 178c3e135a2a249692f7784712492e7884ae0c00 (patch) | |
tree | ac6b769dbf7162150caa0c1624786a4dd79ff3be /crates/syntax/test_data/lexer/err/0055_empty_int.txt | |
parent | 06ff8e6c760ff05f10e868b5d1f9d79e42fbb49c (diff) | |
parent | c2594daf2974dbd4ce3d9b7ec72481764abaceb5 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'crates/syntax/test_data/lexer/err/0055_empty_int.txt')
-rw-r--r-- | crates/syntax/test_data/lexer/err/0055_empty_int.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/syntax/test_data/lexer/err/0055_empty_int.txt b/crates/syntax/test_data/lexer/err/0055_empty_int.txt new file mode 100644 index 000000000..bcd094b6e --- /dev/null +++ b/crates/syntax/test_data/lexer/err/0055_empty_int.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | INT_NUMBER 2 "0b" | ||
2 | WHITESPACE 1 "\n" | ||
3 | INT_NUMBER 2 "0o" | ||
4 | WHITESPACE 1 "\n" | ||
5 | INT_NUMBER 2 "0x" | ||
6 | WHITESPACE 2 "\n\n" | ||
7 | INT_NUMBER 3 "0b_" | ||
8 | WHITESPACE 1 "\n" | ||
9 | INT_NUMBER 3 "0o_" | ||
10 | WHITESPACE 1 "\n" | ||
11 | INT_NUMBER 3 "0x_" | ||
12 | WHITESPACE 2 "\n\n" | ||
13 | INT_NUMBER 9 "0bnoDigit" | ||
14 | WHITESPACE 1 "\n" | ||
15 | INT_NUMBER 9 "0onoDigit" | ||
16 | WHITESPACE 1 "\n" | ||
17 | INT_NUMBER 9 "0xnoDigit" | ||
18 | WHITESPACE 2 "\n\n" | ||
19 | INT_NUMBER 3 "0xG" | ||
20 | WHITESPACE 1 "\n" | ||
21 | INT_NUMBER 3 "0xg" | ||
22 | WHITESPACE 2 "\n\n" | ||
23 | INT_NUMBER 4 "0x_g" | ||
24 | WHITESPACE 1 "\n" | ||
25 | INT_NUMBER 4 "0x_G" | ||
26 | WHITESPACE 1 "\n" | ||
27 | > error0..2 token("0b") msg(Missing digits after the integer base prefix) | ||
28 | > error3..5 token("0o") msg(Missing digits after the integer base prefix) | ||
29 | > error6..8 token("0x") msg(Missing digits after the integer base prefix) | ||
30 | > error10..13 token("0b_") msg(Missing digits after the integer base prefix) | ||
31 | > error14..17 token("0o_") msg(Missing digits after the integer base prefix) | ||
32 | > error18..21 token("0x_") msg(Missing digits after the integer base prefix) | ||
33 | > error23..32 token("0bnoDigit") msg(Missing digits after the integer base prefix) | ||
34 | > error33..42 token("0onoDigit") msg(Missing digits after the integer base prefix) | ||
35 | > error43..52 token("0xnoDigit") msg(Missing digits after the integer base prefix) | ||
36 | > error54..57 token("0xG") msg(Missing digits after the integer base prefix) | ||
37 | > error58..61 token("0xg") msg(Missing digits after the integer base prefix) | ||
38 | > error63..67 token("0x_g") msg(Missing digits after the integer base prefix) | ||
39 | > error68..72 token("0x_G") msg(Missing digits after the integer base prefix) | ||