From 18f9e50b2d1aaf91992be9fd2f2a7e1866a943d3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 7 Jan 2018 13:09:13 +0300 Subject: Error placement --- tests/data/parser/err/0000_struct_field_missing_comma.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/data') diff --git a/tests/data/parser/err/0000_struct_field_missing_comma.txt b/tests/data/parser/err/0000_struct_field_missing_comma.txt index e2e99bb63..55a4ad915 100644 --- a/tests/data/parser/err/0000_struct_field_missing_comma.txt +++ b/tests/data/parser/err/0000_struct_field_missing_comma.txt @@ -1,5 +1,5 @@ FILE@[0; 34) - STRUCT_ITEM@[0; 34) err: `expected COMMA` + STRUCT_ITEM@[0; 34) STRUCT_KW@[0; 6) WHITESPACE@[6; 7) IDENT@[7; 8) @@ -12,9 +12,11 @@ FILE@[0; 34) WHITESPACE@[17; 18) IDENT@[18; 21) WHITESPACE@[21; 26) + err: `expected COMMA` STRUCT_FIELD@[26; 33) IDENT@[26; 27) COLON@[27; 28) WHITESPACE@[28; 29) IDENT@[29; 32) - WHITESPACE@[32; \ No newline at end of file + WHITESPACE@[32; 33) + R_CURLY@[33; 34) -- cgit v1.2.3