aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-13 10:42:19 +0000
committerAleksey Kladov <[email protected]>2018-01-13 10:42:19 +0000
commit55891be06a1f0a051638cb59f1d15167faf5ab82 (patch)
tree2816530bc237e66b6d7b40f29838d7bbed085f7f /tests/data/parser/err
parent29b2e0adcc35834dda2884222624bfcc268a3eff (diff)
G: use trees
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r--tests/data/parser/err/0004_use_path_bad_segment.txt17
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 @@
1FILE@[0; 12) 1FILE@[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`