From 65d4b46c2a3bdecb0493e484473d2de3d124f839 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 12 Sep 2022 17:43:19 +0200 Subject: Fix containers piercing into indented code --- src/construct/code_indented.rs | 2 +- src/tokenizer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/construct/code_indented.rs b/src/construct/code_indented.rs index f2644d4..ec55aa6 100644 --- a/src/construct/code_indented.rs +++ b/src/construct/code_indented.rs @@ -146,7 +146,7 @@ pub fn after(tokenizer: &mut Tokenizer) -> State { /// | bbb /// ``` pub fn further_start(tokenizer: &mut Tokenizer) -> State { - if tokenizer.lazy { + if tokenizer.lazy || tokenizer.pierce { return State::Nok; } diff --git a/src/tokenizer.rs b/src/tokenizer.rs index aca8ec2..5095abb 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -372,7 +372,7 @@ impl<'a> Tokenizer<'a> { }, map: EditMap::new(), interrupt: false, - pierce: true, + pierce: false, concrete: false, lazy: false, resolvers: vec![], -- cgit