From 0c45c04fbbea1cc8de15fdec07a68333f9948658 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 9 Sep 2022 11:07:31 +0200 Subject: Fix to allow blank lines in mdx jsx (flow) --- src/state.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 4201f5c..db03a90 100644 --- a/src/state.rs +++ b/src/state.rs @@ -369,9 +369,7 @@ pub enum Name { MdxJsxTextNok, MdxJsxEsWhitespaceStart, MdxJsxEsWhitespaceInside, - MdxJsxEsWhitespaceEol, MdxJsxEsWhitespaceEolAfter, - MdxJsxEsWhitespaceEolAfterInside, MdxJsxStart, MdxJsxStartAfter, MdxJsxNameBefore, @@ -858,11 +856,7 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State { Name::MdxJsxAttributeValueQuoted => construct::partial_mdx_jsx::attribute_value_quoted, Name::MdxJsxEsWhitespaceStart => construct::partial_mdx_jsx::es_whitespace_start, Name::MdxJsxEsWhitespaceInside => construct::partial_mdx_jsx::es_whitespace_inside, - Name::MdxJsxEsWhitespaceEol => construct::partial_mdx_jsx::es_whitespace_eol, Name::MdxJsxEsWhitespaceEolAfter => construct::partial_mdx_jsx::es_whitespace_eol_after, - Name::MdxJsxEsWhitespaceEolAfterInside => { - construct::partial_mdx_jsx::es_whitespace_eol_after_inside - } Name::NonLazyContinuationStart => construct::partial_non_lazy_continuation::start, Name::NonLazyContinuationAfter => construct::partial_non_lazy_continuation::after, -- cgit