From c12450fb4e30c3418555e47d045bb9fd4318a10a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 29 Jul 2018 13:51:55 +0300 Subject: Introduce red-green syntax tree --- tests/data/parser/err/0004_use_path_bad_segment.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/data/parser/err/0004_use_path_bad_segment.txt') 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 0a67002ac..d9ff79ebe 100644 --- a/tests/data/parser/err/0004_use_path_bad_segment.txt +++ b/tests/data/parser/err/0004_use_path_bad_segment.txt @@ -9,13 +9,13 @@ FILE@[0; 12) WHITESPACE@[3; 4) IDENT@[4; 7) "foo" COLONCOLON@[7; 9) - PATH_SEGMENT@[9; 9) + err: `expected SEMI` err: `expected identifier` - err: `expected SEMI` + err: `expected item` + PATH_SEGMENT@[9; 9) ERROR@[9; 11) - err: `expected item` INT_NUMBER@[9; 11) - ERROR@[11; 12) - err: `expected item, found `;` + err: `expected item, found `;` consider removing this semicolon` + ERROR@[11; 12) SEMI@[11; 12) -- cgit v1.2.3