Fix parameterized block
This commit is contained in:
parent
de13e69769
commit
5a38ff8f41
@ -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('}'))),
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user