diff options
author | Aleksey Kladov <[email protected]> | 2018-02-10 11:08:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-10 11:08:46 +0000 |
commit | f746fb6a93a4f0493fc8f5602372c267befe4e48 (patch) | |
tree | 1128cfedacaaa867a9a42f5a1de931fe09ad40e7 /tests/data/parser/ok/0024_const_item.txt | |
parent | 1401f5af4a3f13984da1237b3ad896eb50eada73 (diff) |
G: use names in consts
Diffstat (limited to 'tests/data/parser/ok/0024_const_item.txt')
-rw-r--r-- | tests/data/parser/ok/0024_const_item.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/data/parser/ok/0024_const_item.txt b/tests/data/parser/ok/0024_const_item.txt index 588e001f5..0f31d19d3 100644 --- a/tests/data/parser/ok/0024_const_item.txt +++ b/tests/data/parser/ok/0024_const_item.txt | |||
@@ -1,8 +1,9 @@ | |||
1 | FILE@[0; 46) | 1 | FILE@[0; 46) |
2 | CONST_ITEM@[0; 21) | 2 | CONST_ITEM@[0; 21) |
3 | CONST_KW@[0; 5) | 3 | CONST_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | NAME@[5; 9) |
5 | IDENT@[6; 9) "FOO" | 5 | WHITESPACE@[5; 6) |
6 | IDENT@[6; 9) "FOO" | ||
6 | COLON@[9; 10) | 7 | COLON@[9; 10) |
7 | WHITESPACE@[10; 11) | 8 | WHITESPACE@[10; 11) |
8 | IDENT@[11; 14) "u32" | 9 | IDENT@[11; 14) "u32" |
@@ -17,8 +18,9 @@ FILE@[0; 46) | |||
17 | CONST_KW@[21; 26) | 18 | CONST_KW@[21; 26) |
18 | WHITESPACE@[26; 27) | 19 | WHITESPACE@[26; 27) |
19 | MUT_KW@[27; 30) | 20 | MUT_KW@[27; 30) |
20 | WHITESPACE@[30; 31) | 21 | NAME@[30; 34) |
21 | IDENT@[31; 34) "BAR" | 22 | WHITESPACE@[30; 31) |
23 | IDENT@[31; 34) "BAR" | ||
22 | COLON@[34; 35) | 24 | COLON@[34; 35) |
23 | WHITESPACE@[35; 36) | 25 | WHITESPACE@[35; 36) |
24 | IDENT@[36; 39) "u32" | 26 | IDENT@[36; 39) "u32" |