Fix repeater type.
I had Cumulative and CatchUp backwards.
This commit is contained in:
@@ -534,8 +534,8 @@ fn repeater<'b, 'g, 'r, 's>(
|
||||
// ++ for catch-up type
|
||||
// .+ for restart type
|
||||
let (remaining, repeater_type) = alt((
|
||||
map(tag("++"), |_| RepeaterType::Cumulative),
|
||||
map(tag("+"), |_| RepeaterType::CatchUp),
|
||||
map(tag("++"), |_| RepeaterType::CatchUp),
|
||||
map(tag("+"), |_| RepeaterType::Cumulative),
|
||||
map(tag(".+"), |_| RepeaterType::Restart),
|
||||
))(input)?;
|
||||
let (remaining, value) = digit1(remaining)?;
|
||||
|
||||
Reference in New Issue
Block a user