diff options
author | Aleksey Kladov <[email protected]> | 2018-01-20 14:21:13 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-20 14:21:13 +0000 |
commit | 410f948c5f8711b951d16d6119d152cc159d9110 (patch) | |
tree | 87bd790171683ca532973795ec31759e9afbb655 /tests/data/parser/err | |
parent | 3c612bfa3a86675ef18b1effcc76037cb6b9fddf (diff) |
Drop high-order combinators
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r-- | tests/data/parser/err/0001_item_recovery_in_file.txt | 4 | ||||
-rw-r--r-- | tests/data/parser/err/0004_use_path_bad_segment.txt | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/data/parser/err/0001_item_recovery_in_file.txt b/tests/data/parser/err/0001_item_recovery_in_file.txt index 730367694..0ac741aa8 100644 --- a/tests/data/parser/err/0001_item_recovery_in_file.txt +++ b/tests/data/parser/err/0001_item_recovery_in_file.txt | |||
@@ -1,8 +1,10 @@ | |||
1 | FILE@[0; 21) | 1 | FILE@[0; 21) |
2 | ERROR@[0; 10) | 2 | ERROR@[0; 3) |
3 | err: `expected item` | 3 | err: `expected item` |
4 | IDENT@[0; 2) | 4 | IDENT@[0; 2) |
5 | WHITESPACE@[2; 3) | 5 | WHITESPACE@[2; 3) |
6 | ERROR@[3; 10) | ||
7 | err: `expected item` | ||
6 | IDENT@[3; 8) | 8 | IDENT@[3; 8) |
7 | WHITESPACE@[8; 10) | 9 | WHITESPACE@[8; 10) |
8 | STRUCT_ITEM@[10; 21) | 10 | STRUCT_ITEM@[10; 21) |
diff --git a/tests/data/parser/err/0004_use_path_bad_segment.txt b/tests/data/parser/err/0004_use_path_bad_segment.txt index cd7e86d68..adc049683 100644 --- a/tests/data/parser/err/0004_use_path_bad_segment.txt +++ b/tests/data/parser/err/0004_use_path_bad_segment.txt | |||
@@ -11,7 +11,10 @@ FILE@[0; 12) | |||
11 | PATH_SEGMENT@[9; 9) | 11 | PATH_SEGMENT@[9; 9) |
12 | err: `expected identifier` | 12 | err: `expected identifier` |
13 | err: `expected SEMI` | 13 | err: `expected SEMI` |
14 | ERROR@[9; 12) | 14 | ERROR@[9; 11) |
15 | err: `expected item` | 15 | err: `expected item` |
16 | INT_NUMBER@[9; 11) | 16 | INT_NUMBER@[9; 11) |
17 | ERROR@[11; 12) | ||
18 | err: `expected item, found `;` | ||
19 | consider removing this semicolon` | ||
17 | SEMI@[11; 12) | 20 | SEMI@[11; 12) |