diff options
author | Aleksey Kladov <[email protected]> | 2019-02-12 15:41:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-12 16:02:30 +0000 |
commit | 4e91c23c796988e3934afabf619185333f85c116 (patch) | |
tree | f81bff262a32170f2677c5c60fe6ddba766f042a /crates/ra_syntax/tests | |
parent | 72a122092bb37249a5d04ca3b8b5c8b78f9b84dd (diff) |
rename yellow -> syntax_node
why yellow in the first place? Its red + green.
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
5 | } | 5 | } |
6 | pub fn parse(text: &str) -> File { | 6 | pub fn parse(text: &str) -> File { |
7 | let tokens = tokenize(&text); | 7 | let tokens = tokenize(&text); |
8 | let (green, errors) = parser_impl::parse_with::<yellow::GreenBuilder>( | 8 | let (green, errors) = parser_impl::parse_with::<syntax_node::GreenBuilder>( |
9 | text, &tokens, grammar::root, | 9 | text, &tokens, grammar::root, |
10 | ); | 10 | ); |
11 | File::new(green, errors) | 11 | File::new(green, errors) |
@@ -24,7 +24,7 @@ | |||
24 | if !is_balanced(&tokens) { | 24 | if !is_balanced(&tokens) { |
25 | return None; | 25 | return None; |
26 | } | 26 | } |
27 | let (green, new_errors) = parser_impl::parse_with::<yellow::GreenBuilder>( | 27 | let (green, new_errors) = parser_impl::parse_with::<syntax_node::GreenBuilder>( |
28 | &te2t, &tokens, reparser, | 28 | &te2t, &tokens, reparser, |
29 | ); | 29 | ); |
30 | let green_root = node.replace_with(green); | 30 | let green_root = node.replace_with(green); |