From b097090690f5edbe03f4aa9d042ba26c123699e4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 11 Feb 2018 00:46:17 +0300 Subject: G: more types --- tests/data/parser/ok/0023_static_items.txt | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 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 8872520c5..c9ecfb920 100644 --- a/tests/data/parser/ok/0023_static_items.txt +++ b/tests/data/parser/ok/0023_static_items.txt @@ -5,9 +5,13 @@ FILE@[0; 47) WHITESPACE@[6; 7) IDENT@[7; 10) "FOO" COLON@[10; 11) - WHITESPACE@[11; 12) - IDENT@[12; 15) "u32" - WHITESPACE@[15; 16) + PATH_TYPE@[11; 16) + PATH@[11; 16) + PATH_SEGMENT@[11; 16) + NAME_REF@[11; 16) + WHITESPACE@[11; 12) + IDENT@[12; 15) "u32" + WHITESPACE@[15; 16) EQ@[16; 17) LITERAL@[17; 19) WHITESPACE@[17; 18) @@ -22,9 +26,13 @@ FILE@[0; 47) WHITESPACE@[31; 32) IDENT@[32; 35) "BAR" COLON@[35; 36) - WHITESPACE@[36; 37) - IDENT@[37; 40) "i32" - WHITESPACE@[40; 41) + PATH_TYPE@[36; 41) + PATH@[36; 41) + PATH_SEGMENT@[36; 41) + NAME_REF@[36; 41) + WHITESPACE@[36; 37) + IDENT@[37; 40) "i32" + WHITESPACE@[40; 41) EQ@[41; 42) LITERAL@[42; 45) WHITESPACE@[42; 43) -- cgit v1.2.3