Remove parent exit matcher check from section.

This was poorly thought out and causing exit due to the no exit error.
This commit is contained in:
Tom Alexander 2023-04-10 12:08:03 -04:00
parent ea753ad33c
commit 9c832053d4
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 0 additions and 3 deletions

View File

@ -113,9 +113,6 @@ fn section<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, Sec
|(children, _exit_contents)| !children.is_empty(),
)(input)?;
// Check if a parent exit matcher is causing the exit
exit_matcher_parser(context, remaining)?;
let (remaining, _trailing_ws) = maybe_consume_trailing_whitespace(context, remaining)?;
let source = get_consumed(input, remaining);