diff options
author | Aleksey Kladov <[email protected]> | 2018-01-13 10:42:19 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-13 10:42:19 +0000 |
commit | 55891be06a1f0a051638cb59f1d15167faf5ab82 (patch) | |
tree | 2816530bc237e66b6d7b40f29838d7bbed085f7f /tests/data/parser/err | |
parent | 29b2e0adcc35834dda2884222624bfcc268a3eff (diff) |
G: use trees
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` |