From f746fb6a93a4f0493fc8f5602372c267befe4e48 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 10 Feb 2018 14:08:46 +0300 Subject: G: use names in consts --- tests/data/parser/ok/0023_static_items.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/data/parser/ok/0023_static_items.txt') diff --git a/tests/data/parser/ok/0023_static_items.txt b/tests/data/parser/ok/0023_static_items.txt index 7cd2228fa..8872520c5 100644 --- a/tests/data/parser/ok/0023_static_items.txt +++ b/tests/data/parser/ok/0023_static_items.txt @@ -1,8 +1,9 @@ FILE@[0; 47) STATIC_ITEM@[0; 21) STATIC_KW@[0; 6) - WHITESPACE@[6; 7) - IDENT@[7; 10) "FOO" + NAME@[6; 10) + WHITESPACE@[6; 7) + IDENT@[7; 10) "FOO" COLON@[10; 11) WHITESPACE@[11; 12) IDENT@[12; 15) "u32" @@ -17,8 +18,9 @@ FILE@[0; 47) STATIC_KW@[21; 27) WHITESPACE@[27; 28) MUT_KW@[28; 31) - WHITESPACE@[31; 32) - IDENT@[32; 35) "BAR" + NAME@[31; 35) + WHITESPACE@[31; 32) + IDENT@[32; 35) "BAR" COLON@[35; 36) WHITESPACE@[36; 37) IDENT@[37; 40) "i32" -- cgit v1.2.3