From 0be7464edbd0fae379eff1e18d64bd2099651040 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 23 May 2023 16:31:21 +0200 Subject: Refactor some code --- src/state.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index b013c39..427a388 100644 --- a/src/state.rs +++ b/src/state.rs @@ -316,6 +316,7 @@ pub enum Name { LabelEndNok, LabelEndReferenceFull, LabelEndReferenceFullAfter, + LabelEndReferenceFullMissing, LabelEndReferenceNotFull, LabelEndReferenceCollapsed, LabelEndReferenceCollapsedOpen, @@ -801,6 +802,7 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::LabelEndNok => construct::label_end::nok, Name::LabelEndReferenceFull => construct::label_end::reference_full, Name::LabelEndReferenceFullAfter => construct::label_end::reference_full_after, + Name::LabelEndReferenceFullMissing => construct::label_end::reference_full_missing, Name::LabelEndReferenceNotFull => construct::label_end::reference_not_full, Name::LabelEndReferenceCollapsed => construct::label_end::reference_collapsed, Name::LabelEndReferenceCollapsedOpen => construct::label_end::reference_collapsed_open, -- cgit