diff options
author | Aleksey Kladov <[email protected]> | 2018-02-10 11:04:31 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-10 11:04:31 +0000 |
commit | 3c9d8ff42357711775c3aeb3af03f528ee779932 (patch) | |
tree | 57266f107334bde65ccc0e9902fb7cffdec6990e /tests/data/parser/err | |
parent | fc0a9e266b9d663b1eeca3963495c68ca3384be2 (diff) |
G: names for fns
Diffstat (limited to 'tests/data/parser/err')
-rw-r--r-- | tests/data/parser/err/0005_attribute_recover.txt | 10 | ||||
-rw-r--r-- | tests/data/parser/err/0007_stray_curly_in_file.txt | 5 | ||||
-rw-r--r-- | tests/data/parser/err/0008_item_block_recovery.txt | 10 |
3 files changed, 15 insertions, 10 deletions
diff --git a/tests/data/parser/err/0005_attribute_recover.txt b/tests/data/parser/err/0005_attribute_recover.txt index 00a534af1..15e77f63b 100644 --- a/tests/data/parser/err/0005_attribute_recover.txt +++ b/tests/data/parser/err/0005_attribute_recover.txt | |||
@@ -23,8 +23,9 @@ FILE@[0; 54) | |||
23 | R_BRACK@[17; 18) | 23 | R_BRACK@[17; 18) |
24 | WHITESPACE@[18; 19) | 24 | WHITESPACE@[18; 19) |
25 | FN_KW@[19; 21) | 25 | FN_KW@[19; 21) |
26 | WHITESPACE@[21; 22) | 26 | NAME@[21; 25) |
27 | IDENT@[22; 25) "foo" | 27 | WHITESPACE@[21; 22) |
28 | IDENT@[22; 25) "foo" | ||
28 | L_PAREN@[25; 26) | 29 | L_PAREN@[25; 26) |
29 | R_PAREN@[26; 27) | 30 | R_PAREN@[26; 27) |
30 | WHITESPACE@[27; 28) | 31 | WHITESPACE@[27; 28) |
@@ -43,8 +44,9 @@ FILE@[0; 54) | |||
43 | WHITESPACE@[40; 41) | 44 | WHITESPACE@[40; 41) |
44 | err: `expected R_BRACK` | 45 | err: `expected R_BRACK` |
45 | FN_KW@[41; 43) | 46 | FN_KW@[41; 43) |
46 | WHITESPACE@[43; 44) | 47 | NAME@[43; 47) |
47 | IDENT@[44; 47) "foo" | 48 | WHITESPACE@[43; 44) |
49 | IDENT@[44; 47) "foo" | ||
48 | L_PAREN@[47; 48) | 50 | L_PAREN@[47; 48) |
49 | R_PAREN@[48; 49) | 51 | R_PAREN@[48; 49) |
50 | WHITESPACE@[49; 50) | 52 | WHITESPACE@[49; 50) |
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 b4da4464d..6460d06d8 100644 --- a/tests/data/parser/err/0007_stray_curly_in_file.txt +++ b/tests/data/parser/err/0007_stray_curly_in_file.txt | |||
@@ -15,8 +15,9 @@ FILE@[0; 31) | |||
15 | WHITESPACE@[15; 17) | 15 | WHITESPACE@[15; 17) |
16 | FN_ITEM@[17; 29) | 16 | FN_ITEM@[17; 29) |
17 | FN_KW@[17; 19) | 17 | FN_KW@[17; 19) |
18 | WHITESPACE@[19; 20) | 18 | NAME@[19; 23) |
19 | IDENT@[20; 23) "foo" | 19 | WHITESPACE@[19; 20) |
20 | IDENT@[20; 23) "foo" | ||
20 | L_PAREN@[23; 24) | 21 | L_PAREN@[23; 24) |
21 | R_PAREN@[24; 25) | 22 | R_PAREN@[24; 25) |
22 | L_CURLY@[25; 26) | 23 | L_CURLY@[25; 26) |
diff --git a/tests/data/parser/err/0008_item_block_recovery.txt b/tests/data/parser/err/0008_item_block_recovery.txt index c6386fd73..ddfb4b4dc 100644 --- a/tests/data/parser/err/0008_item_block_recovery.txt +++ b/tests/data/parser/err/0008_item_block_recovery.txt | |||
@@ -1,8 +1,9 @@ | |||
1 | FILE@[0; 95) | 1 | FILE@[0; 95) |
2 | FN_ITEM@[0; 14) | 2 | FN_ITEM@[0; 14) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | NAME@[2; 6) |
5 | IDENT@[3; 6) "foo" | 5 | WHITESPACE@[2; 3) |
6 | IDENT@[3; 6) "foo" | ||
6 | L_PAREN@[6; 7) | 7 | L_PAREN@[6; 7) |
7 | R_PAREN@[7; 8) | 8 | R_PAREN@[7; 8) |
8 | WHITESPACE@[8; 9) | 9 | WHITESPACE@[8; 9) |
@@ -50,8 +51,9 @@ FILE@[0; 95) | |||
50 | WHITESPACE@[80; 82) | 51 | WHITESPACE@[80; 82) |
51 | FN_ITEM@[82; 95) | 52 | FN_ITEM@[82; 95) |
52 | FN_KW@[82; 84) | 53 | FN_KW@[82; 84) |
53 | WHITESPACE@[84; 85) | 54 | NAME@[84; 88) |
54 | IDENT@[85; 88) "baz" | 55 | WHITESPACE@[84; 85) |
56 | IDENT@[85; 88) "baz" | ||
55 | L_PAREN@[88; 89) | 57 | L_PAREN@[88; 89) |
56 | R_PAREN@[89; 90) | 58 | R_PAREN@[89; 90) |
57 | WHITESPACE@[90; 91) | 59 | WHITESPACE@[90; 91) |