From 4e91c23c796988e3934afabf619185333f85c116 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 12 Feb 2019 18:41:57 +0300 Subject: rename yellow -> syntax_node why yellow in the first place? Its red + green. --- crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/tests/data/parser/fuzz-failures') diff --git a/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs index 59cd11495..e0437d163 100644 --- a/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs +++ b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs @@ -5,7 +5,7 @@ } pub fn parse(text: &str) -> File { let tokens = tokenize(&text); - let (green, errors) = parser_impl::parse_with::( + let (green, errors) = parser_impl::parse_with::( text, &tokens, grammar::root, ); File::new(green, errors) @@ -24,7 +24,7 @@ if !is_balanced(&tokens) { return None; } - let (green, new_errors) = parser_impl::parse_with::( + let (green, new_errors) = parser_impl::parse_with::( &te2t, &tokens, reparser, ); let green_root = node.replace_with(green); -- cgit v1.2.3