Join the plain list item tag end matchers again.

This commit is contained in:
Tom Alexander
2023-09-11 10:13:22 -04:00
parent 8440a3b256
commit 1f11bfa2ec
3 changed files with 14 additions and 27 deletions

View File

@@ -108,7 +108,7 @@ impl<'g, 'r, 's> Context<'g, 'r, 's> {
&'r self,
i: OrgSource<'s>,
) -> IResult<OrgSource<'s>, OrgSource<'s>, CustomError<OrgSource<'s>>> {
let mut current_class_filter = ExitClass::Delta;
let mut current_class_filter = ExitClass::Gamma;
for current_node in self.iter_context() {
let context_element = current_node.get_data();
match context_element {

View File

@@ -4,7 +4,6 @@ pub enum ExitClass {
Alpha = 2,
Beta = 3,
Gamma = 4,
Delta = 5,
}
impl std::fmt::Display for ExitClass {