diff options
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r-- | tests/data/parser/err/0004_use_path_bad_segment.txt | 17 |
1 files changed, 9 insertions, 8 deletions
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 241ee8562..cd7e86d68 100644 --- a/tests/data/parser/err/0004_use_path_bad_segment.txt +++ b/tests/data/parser/err/0004_use_path_bad_segment.txt | |||
@@ -1,14 +1,15 @@ | |||
1 | FILE@[0; 12) | 1 | FILE@[0; 12) |
2 | USE_ITEM@[0; 9) | 2 | USE_ITEM@[0; 9) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | PATH@[3; 9) | 4 | USE_TREE@[3; 9) |
5 | PATH@[3; 7) | 5 | PATH@[3; 9) |
6 | PATH_SEGMENT@[3; 7) | 6 | PATH@[3; 7) |
7 | WHITESPACE@[3; 4) | 7 | PATH_SEGMENT@[3; 7) |
8 | IDENT@[4; 7) | 8 | WHITESPACE@[3; 4) |
9 | COLONCOLON@[7; 9) | 9 | IDENT@[4; 7) |
10 | PATH_SEGMENT@[9; 9) | 10 | COLONCOLON@[7; 9) |
11 | err: `expected identifier` | 11 | PATH_SEGMENT@[9; 9) |
12 | err: `expected identifier` | ||
12 | err: `expected SEMI` | 13 | err: `expected SEMI` |
13 | ERROR@[9; 12) | 14 | ERROR@[9; 12) |
14 | err: `expected item` | 15 | err: `expected item` |