Fix parameterized block

This commit is contained in:
Greg Shuflin 2021-11-20 22:36:00 -08:00
parent de13e69769
commit 5a38ff8f41

View File

@ -156,7 +156,7 @@ fn block_template<'a, O, O2>(
) -> impl FnMut(Span<'a>) -> IResult<Span<'a>, Vec<O>, VerboseError<Span<'a>>> {
delimited(
pair(tok(char('{')), many0(statement_delimiter)),
separated_list0(many1(statement_delimiter), input_parser),
separated_list0(delimiter, input_parser),
pair(many0(statement_delimiter), tok(char('}'))),
)
}