From 1ae4721c9cfea746fce59a816b1c266bf373d6cf Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 17:36:46 +0200 Subject: Finalize union grammar --- crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast | 4 ++-- crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax/test_data') diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast index 2726516b8..6589e4795 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast @@ -1,5 +1,5 @@ SOURCE_FILE@0..51 - UNION_DEF@0..12 + UNION@0..12 UNION_KW@0..5 "union" WHITESPACE@5..6 " " NAME@6..9 @@ -9,7 +9,7 @@ SOURCE_FILE@0..51 L_CURLY@10..11 "{" R_CURLY@11..12 "}" WHITESPACE@12..13 "\n" - UNION_DEF@13..50 + UNION@13..50 UNION_KW@13..18 "union" WHITESPACE@18..19 " " NAME@19..22 diff --git a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast index 2aa075993..b04a505ea 100644 --- a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast +++ b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast @@ -1560,7 +1560,7 @@ SOURCE_FILE@0..3813 BLOCK_EXPR@2845..2906 L_CURLY@2845..2846 "{" WHITESPACE@2846..2851 "\n " - UNION_DEF@2851..2904 + UNION@2851..2904 UNION_KW@2851..2856 "union" WHITESPACE@2856..2857 " " NAME@2857..2862 -- cgit v1.2.3