fix(varcon): Swallow abbr annotations

This commit is contained in:
Ed Page committed 2024-08-23 11:26:25 -05:00
1 parent e85562501a
commit c32240302d
2 files changed
+6 -7

No files matched your search

+3 -4
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,
}
+3 -3
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,
},
],