fix(varcon): Swallow abbr annotations

This commit is contained in:
Ed Page 2024-08-23 11:26:25 -05:00
parent e85562501a
commit c32240302d
2 changed files with 6 additions and 7 deletions

View file

@ -992,7 +992,8 @@ impl Entry {
fn parse_description(input: &mut &str) -> PResult<Self, ()> {
trace("description", move |input: &mut &str| {
let (_plural, pos, archaic, note, description) = (
let (_abbr, _plural, pos, archaic, note, description) = (
winnow::combinator::opt((winnow::ascii::space1, "<abbr>")),
winnow::combinator::opt((winnow::ascii::space1, "<pl>")),
winnow::combinator::opt((winnow::ascii::space1, delimited('<', Pos::parse_, '>'))),
winnow::combinator::opt((winnow::ascii::space1, "(-)")),
@ -1386,9 +1387,7 @@ Entry {
pos: None,
archaic: false,
note: false,
description: Some(
"<abbr>",
),
description: None,
comment: None,
}

View file

@ -164634,7 +164634,7 @@ Cluster {
},
],
pos: None, archaic: false, note: false,
description: Some("<abbr>"),
description: None,
comment: None,
},
],
@ -227280,7 +227280,7 @@ Cluster {
},
],
pos: None, archaic: false, note: false,
description: Some("<abbr> Matthew"),
description: Some("Matthew"),
comment: None,
},
],
@ -265098,7 +265098,7 @@ Cluster {
},
],
pos: None, archaic: false, note: false,
description: Some("<abbr> Oklahoma"),
description: Some("Oklahoma"),
comment: None,
},
],