From 46422f722bdcadbf4462dd5a9c65756434b2d97a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 1 Jan 2018 22:13:04 +0300 Subject: Parser: first scraches --- tests/data/parser/0001_struct_item.rs | 3 +++ tests/data/parser/0001_struct_item.txt | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/data/parser/0001_struct_item.rs create mode 100644 tests/data/parser/0001_struct_item.txt (limited to 'tests') diff --git a/tests/data/parser/0001_struct_item.rs b/tests/data/parser/0001_struct_item.rs new file mode 100644 index 000000000..d3a8c1d23 --- /dev/null +++ b/tests/data/parser/0001_struct_item.rs @@ -0,0 +1,3 @@ +struct S { + +} \ No newline at end of file diff --git a/tests/data/parser/0001_struct_item.txt b/tests/data/parser/0001_struct_item.txt new file mode 100644 index 000000000..5ef544282 --- /dev/null +++ b/tests/data/parser/0001_struct_item.txt @@ -0,0 +1,12 @@ +FILE@[0; 13) + STRUCT_ITEM@[0; 7) + STRUCT_KW@[0; 6) + WHITESPACE@[6; 7) + ERROR@[7; 9) + IDENT@[7; 8) + WHITESPACE@[8; 9) + ERROR@[9; 12) + L_CURLY@[9; 10) + WHITESPACE@[10; 12) + ERROR@[12; 13) + R_CURLY@[12; 13) -- cgit v1.2.3