aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-07 10:09:13 +0000
committerAleksey Kladov <[email protected]>2018-01-07 10:09:13 +0000
commit18f9e50b2d1aaf91992be9fd2f2a7e1866a943d3 (patch)
treee984c18fb8fa2e81950a582672077f966ce570e3 /tests/data
parentefcfaae34ac7a54e858aad82e6503a7c69d6c550 (diff)
Error placement
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/parser/err/0000_struct_field_missing_comma.txt6
1 files changed, 4 insertions, 2 deletions
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 @@
1FILE@[0; 34) 1FILE@[0; 34)
2 STRUCT_ITEM@[0; 34) err: `expected COMMA` 2 STRUCT_ITEM@[0; 34)
3 STRUCT_KW@[0; 6) 3 STRUCT_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 IDENT@[7; 8) 5 IDENT@[7; 8)
@@ -12,9 +12,11 @@ FILE@[0; 34)
12 WHITESPACE@[17; 18) 12 WHITESPACE@[17; 18)
13 IDENT@[18; 21) 13 IDENT@[18; 21)
14 WHITESPACE@[21; 26) 14 WHITESPACE@[21; 26)
15 err: `expected COMMA`
15 STRUCT_FIELD@[26; 33) 16 STRUCT_FIELD@[26; 33)
16 IDENT@[26; 27) 17 IDENT@[26; 27)
17 COLON@[27; 28) 18 COLON@[27; 28)
18 WHITESPACE@[28; 29) 19 WHITESPACE@[28; 29)
19 IDENT@[29; 32) 20 IDENT@[29; 32)
20 WHITESPACE@[32; \ No newline at end of file 21 WHITESPACE@[32; 33)
22 R_CURLY@[33; 34)