diff options
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r-- | tests/data/parser/err/0001_item_recovery_in_file.txt | 2 | ||||
-rw-r--r-- | tests/data/parser/err/0004_use_path_bad_segment.txt | 2 | ||||
-rw-r--r-- | tests/data/parser/err/0007_stray_curly_in_file.txt | 2 |
3 files changed, 3 insertions, 3 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 01bd2abe6..f35b97b48 100644 --- a/tests/data/parser/err/0001_item_recovery_in_file.txt +++ b/tests/data/parser/err/0001_item_recovery_in_file.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | FILE@[0; 21) | 1 | FILE@[0; 21) |
2 | err: `expected item` | ||
3 | ERROR@[0; 3) | 2 | ERROR@[0; 3) |
4 | IF_KW@[0; 2) | 3 | IF_KW@[0; 2) |
4 | err: `expected item` | ||
5 | WHITESPACE@[2; 3) | 5 | WHITESPACE@[2; 3) |
6 | err: `expected item` | 6 | err: `expected item` |
7 | ERROR@[3; 10) | 7 | ERROR@[3; 10) |
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 d9ff79ebe..d58bf263b 100644 --- a/tests/data/parser/err/0004_use_path_bad_segment.txt +++ b/tests/data/parser/err/0004_use_path_bad_segment.txt | |||
@@ -9,8 +9,8 @@ FILE@[0; 12) | |||
9 | WHITESPACE@[3; 4) | 9 | WHITESPACE@[3; 4) |
10 | IDENT@[4; 7) "foo" | 10 | IDENT@[4; 7) "foo" |
11 | COLONCOLON@[7; 9) | 11 | COLONCOLON@[7; 9) |
12 | err: `expected SEMI` | ||
13 | err: `expected identifier` | 12 | err: `expected identifier` |
13 | err: `expected SEMI` | ||
14 | err: `expected item` | 14 | err: `expected item` |
15 | PATH_SEGMENT@[9; 9) | 15 | PATH_SEGMENT@[9; 9) |
16 | ERROR@[9; 11) | 16 | ERROR@[9; 11) |
diff --git a/tests/data/parser/err/0007_stray_curly_in_file.txt b/tests/data/parser/err/0007_stray_curly_in_file.txt index 6995ec6ff..07c99e9fc 100644 --- a/tests/data/parser/err/0007_stray_curly_in_file.txt +++ b/tests/data/parser/err/0007_stray_curly_in_file.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | FILE@[0; 31) | 1 | FILE@[0; 31) |
2 | err: `expected item` | ||
3 | ERROR@[0; 3) | 2 | ERROR@[0; 3) |
4 | R_CURLY@[0; 1) | 3 | R_CURLY@[0; 1) |
4 | err: `expected item` | ||
5 | WHITESPACE@[1; 3) | 5 | WHITESPACE@[1; 3) |
6 | STRUCT_ITEM@[3; 14) | 6 | STRUCT_ITEM@[3; 14) |
7 | STRUCT_KW@[3; 9) | 7 | STRUCT_KW@[3; 9) |