From 8105c14454f8c4f575f16b44ec616ffd045be57f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 22:14:56 +0300 Subject: Improve debug_dump performance --- tests/data/parser/err/0001_item_recovery_in_file.txt | 2 +- tests/data/parser/err/0004_use_path_bad_segment.txt | 2 +- tests/data/parser/err/0007_stray_curly_in_file.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/data/parser/err') 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 @@ FILE@[0; 21) -err: `expected item` ERROR@[0; 3) IF_KW@[0; 2) + err: `expected item` WHITESPACE@[2; 3) err: `expected item` 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) WHITESPACE@[3; 4) IDENT@[4; 7) "foo" COLONCOLON@[7; 9) - err: `expected SEMI` err: `expected identifier` + err: `expected SEMI` err: `expected item` PATH_SEGMENT@[9; 9) 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 @@ FILE@[0; 31) -err: `expected item` ERROR@[0; 3) R_CURLY@[0; 1) + err: `expected item` WHITESPACE@[1; 3) STRUCT_ITEM@[3; 14) STRUCT_KW@[3; 9) -- cgit v1.2.3