aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-05 19:24:41 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-01-06 13:05:24 +0100
commit7e3c00aa65135ba2e9aa47f824ff9fac4accae2a (patch)
tree87d55e1c3882423e968b9518d2d547a3196de0cd /askama_shared
parent7f1cd3dfc7ed72b9cd31a53774c5aec019287ea0 (diff)
downloadaskama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.tar.gz
askama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.tar.bz2
askama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.zip
Same number of repeats in macro pattern and body
Diffstat (limited to '')
-rw-r--r--askama_shared/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
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((