aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 21:59:54 +0100
committerAleksey Kladov <[email protected]>2018-07-31 21:59:54 +0100
commita31cb829ed763f9dd1fcf422469eedd3402e5fbc (patch)
treebcd4ef6a3b2cf3421bb5d3b49501c4f1e597d4fe /tests/data/parser/err
parentc8e59012757665649125a218416283d416e36547 (diff)
Print numbers
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r--tests/data/parser/err/0004_use_path_bad_segment.txt2
-rw-r--r--tests/data/parser/err/0005_attribute_recover.txt2
-rw-r--r--tests/data/parser/err/0006_named_field_recovery.txt2
-rw-r--r--tests/data/parser/err/0008_item_block_recovery.txt6
-rw-r--r--tests/data/parser/err/0009_broken_struct_type_parameter.txt4
5 files changed, 8 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 d58bf263b..6eb6123ec 100644
--- a/tests/data/parser/err/0004_use_path_bad_segment.txt
+++ b/tests/data/parser/err/0004_use_path_bad_segment.txt
@@ -14,7 +14,7 @@ FILE@[0; 12)
14 err: `expected item` 14 err: `expected item`
15 PATH_SEGMENT@[9; 9) 15 PATH_SEGMENT@[9; 9)
16 ERROR@[9; 11) 16 ERROR@[9; 11)
17 INT_NUMBER@[9; 11) 17 INT_NUMBER@[9; 11) "92"
18 err: `expected item, found `;` 18 err: `expected item, found `;`
19consider removing this semicolon` 19consider removing this semicolon`
20 ERROR@[11; 12) 20 ERROR@[11; 12)
diff --git a/tests/data/parser/err/0005_attribute_recover.txt b/tests/data/parser/err/0005_attribute_recover.txt
index 78e58e0df..9dea0f7d9 100644
--- a/tests/data/parser/err/0005_attribute_recover.txt
+++ b/tests/data/parser/err/0005_attribute_recover.txt
@@ -18,7 +18,7 @@ FILE@[0; 54)
18 COMMA@[12; 13) 18 COMMA@[12; 13)
19 WHITESPACE@[13; 14) 19 WHITESPACE@[13; 14)
20 LITERAL@[14; 16) 20 LITERAL@[14; 16)
21 INT_NUMBER@[14; 16) 21 INT_NUMBER@[14; 16) "92"
22 R_PAREN@[16; 17) 22 R_PAREN@[16; 17)
23 R_BRACK@[17; 18) 23 R_BRACK@[17; 18)
24 WHITESPACE@[18; 19) 24 WHITESPACE@[18; 19)
diff --git a/tests/data/parser/err/0006_named_field_recovery.txt b/tests/data/parser/err/0006_named_field_recovery.txt
index cb5a9c32c..5abde6710 100644
--- a/tests/data/parser/err/0006_named_field_recovery.txt
+++ b/tests/data/parser/err/0006_named_field_recovery.txt
@@ -24,7 +24,7 @@ FILE@[0; 74)
24 WHITESPACE@[30; 31) 24 WHITESPACE@[30; 31)
25 err: `expected field declaration` 25 err: `expected field declaration`
26 ERROR@[31; 38) 26 ERROR@[31; 38)
27 INT_NUMBER@[31; 33) 27 INT_NUMBER@[31; 33) "92"
28 WHITESPACE@[33; 38) 28 WHITESPACE@[33; 38)
29 err: `expected COMMA` 29 err: `expected COMMA`
30 err: `expected field declaration` 30 err: `expected field declaration`
diff --git a/tests/data/parser/err/0008_item_block_recovery.txt b/tests/data/parser/err/0008_item_block_recovery.txt
index 05be13646..40ce2bc1a 100644
--- a/tests/data/parser/err/0008_item_block_recovery.txt
+++ b/tests/data/parser/err/0008_item_block_recovery.txt
@@ -33,7 +33,7 @@ FILE@[0; 95)
33 WHITESPACE@[33; 34) 33 WHITESPACE@[33; 34)
34 L_CURLY@[34; 35) 34 L_CURLY@[34; 35)
35 WHITESPACE@[35; 44) 35 WHITESPACE@[35; 44)
36 INT_NUMBER@[44; 45) 36 INT_NUMBER@[44; 45) "1"
37 WHITESPACE@[45; 50) 37 WHITESPACE@[45; 50)
38 R_CURLY@[50; 51) 38 R_CURLY@[50; 51)
39 WHITESPACE@[51; 52) 39 WHITESPACE@[51; 52)
@@ -41,11 +41,11 @@ FILE@[0; 95)
41 WHITESPACE@[56; 57) 41 WHITESPACE@[56; 57)
42 L_CURLY@[57; 58) 42 L_CURLY@[57; 58)
43 WHITESPACE@[58; 67) 43 WHITESPACE@[58; 67)
44 INT_NUMBER@[67; 68) 44 INT_NUMBER@[67; 68) "2"
45 WHITESPACE@[68; 69) 45 WHITESPACE@[68; 69)
46 PLUS@[69; 70) 46 PLUS@[69; 70)
47 WHITESPACE@[70; 71) 47 WHITESPACE@[70; 71)
48 INT_NUMBER@[71; 72) 48 INT_NUMBER@[71; 72) "3"
49 WHITESPACE@[72; 77) 49 WHITESPACE@[72; 77)
50 R_CURLY@[77; 78) 50 R_CURLY@[77; 78)
51 WHITESPACE@[78; 79) 51 WHITESPACE@[78; 79)
diff --git a/tests/data/parser/err/0009_broken_struct_type_parameter.txt b/tests/data/parser/err/0009_broken_struct_type_parameter.txt
index c16c6dffe..700fc550f 100644
--- a/tests/data/parser/err/0009_broken_struct_type_parameter.txt
+++ b/tests/data/parser/err/0009_broken_struct_type_parameter.txt
@@ -8,7 +8,7 @@ FILE@[0; 43)
8 L_ANGLE@[8; 9) 8 L_ANGLE@[8; 9)
9 err: `expected type parameter` 9 err: `expected type parameter`
10 ERROR@[9; 12) 10 ERROR@[9; 12)
11 INT_NUMBER@[9; 11) 11 INT_NUMBER@[9; 11) "90"
12 WHITESPACE@[11; 12) 12 WHITESPACE@[11; 12)
13 err: `expected COMMA` 13 err: `expected COMMA`
14 err: `expected R_ANGLE` 14 err: `expected R_ANGLE`
@@ -19,7 +19,7 @@ FILE@[0; 43)
19 WHITESPACE@[13; 14) 19 WHITESPACE@[13; 14)
20 err: `expected item` 20 err: `expected item`
21 ERROR@[14; 15) 21 ERROR@[14; 15)
22 INT_NUMBER@[14; 15) 22 INT_NUMBER@[14; 15) "2"
23 err: `expected item` 23 err: `expected item`
24 ERROR@[15; 17) 24 ERROR@[15; 17)
25 R_ANGLE@[15; 16) 25 R_ANGLE@[15; 16)