fix tests

This commit is contained in:
Folkert 2021-01-31 18:51:12 +01:00
parent 76f9444e46
commit ac3788ba85
4 changed files with 21 additions and 21 deletions

View file

@ -149,8 +149,8 @@ pub struct Effects<'a> {
pub spaces_before_effects_keyword: &'a [CommentOrNewline<'a>],
pub spaces_after_effects_keyword: &'a [CommentOrNewline<'a>],
pub spaces_after_type_name: &'a [CommentOrNewline<'a>],
pub type_shortname: &'a str,
pub type_name: &'a str,
pub effect_shortname: &'a str,
pub effect_type_name: &'a str,
pub entries: &'a [Loc<TypedIdent<'a>>],
}

View file

@ -511,8 +511,8 @@ fn effects<'a>() -> impl Parser<'a, Effects<'a>> {
spaces_before_effects_keyword,
spaces_after_effects_keyword,
spaces_after_type_name,
type_shortname,
type_name,
effect_shortname: type_shortname,
effect_type_name: type_name,
entries: entries.into_bump_slice(),
},
state,