Running into an error running the tracer.

This commit is contained in:
Tom Alexander
2023-04-21 14:54:29 -04:00
parent f1b0d7e6be
commit c971148871
3 changed files with 8 additions and 28 deletions

View File

@@ -117,10 +117,12 @@ pub fn org_mode_table_cell<'r, 's>(
let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context);
let (remaining, (children, _exit_contents)) = verify(
many_till(minimal_set_object_matcher, exit_matcher),
|(children, exit_contents)| !children.is_empty() || *exit_contents == "|",
|(children, exit_contents)| !children.is_empty() || exit_contents.ends_with("|"),
)(input)?;
todo!()
let source = get_consumed(input, remaining);
Ok((remaining, TableCell { source, children }))
}
#[tracing::instrument(ret, level = "debug")]