From 7e3c00aa65135ba2e9aa47f824ff9fac4accae2a Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 5 Jan 2022 19:24:41 +0100 Subject: Same number of repeats in macro pattern and body --- askama_shared/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src') diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index 535c7f2..da9a6a0 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -617,7 +617,7 @@ macro_rules! expr_prec_layer { fn $name(i: &str) -> IResult<&str, Expr<'_>> { let (i, left) = $inner(i)?; let (i, right) = many0(pair( - ws(alt(($( tag($op) ),*,))), + ws(alt(($( tag($op) ),+,))), $inner, ))(i)?; Ok(( -- cgit