From 3048b7aca0690691d25cb8409d543b2377e065e1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 11 Aug 2022 15:54:13 +0200 Subject: Refactor to move `space_or_tab_eol` to own file --- src/state.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 7e28b0c..d5055e2 100644 --- a/src/state.rs +++ b/src/state.rs @@ -588,11 +588,11 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::SpaceOrTabInside => construct::partial_space_or_tab::inside, Name::SpaceOrTabAfter => construct::partial_space_or_tab::after, - Name::SpaceOrTabEolStart => construct::partial_space_or_tab::eol_start, - Name::SpaceOrTabEolAfterFirst => construct::partial_space_or_tab::eol_after_first, - Name::SpaceOrTabEolAfterEol => construct::partial_space_or_tab::eol_after_eol, - Name::SpaceOrTabEolAtEol => construct::partial_space_or_tab::eol_at_eol, - Name::SpaceOrTabEolAfterMore => construct::partial_space_or_tab::eol_after_more, + Name::SpaceOrTabEolStart => construct::partial_space_or_tab_eol::eol_start, + Name::SpaceOrTabEolAfterFirst => construct::partial_space_or_tab_eol::eol_after_first, + Name::SpaceOrTabEolAfterEol => construct::partial_space_or_tab_eol::eol_after_eol, + Name::SpaceOrTabEolAtEol => construct::partial_space_or_tab_eol::eol_at_eol, + Name::SpaceOrTabEolAfterMore => construct::partial_space_or_tab_eol::eol_after_more, Name::StringStart => content::string::start, Name::StringBefore => content::string::before, -- cgit