diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-05 19:24:41 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-06 13:05:24 +0100 |
commit | 7e3c00aa65135ba2e9aa47f824ff9fac4accae2a (patch) | |
tree | 87d55e1c3882423e968b9518d2d547a3196de0cd | |
parent | 7f1cd3dfc7ed72b9cd31a53774c5aec019287ea0 (diff) | |
download | askama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.tar.gz askama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.tar.bz2 askama-7e3c00aa65135ba2e9aa47f824ff9fac4accae2a.zip |
Same number of repeats in macro pattern and body
-rw-r--r-- | askama_shared/src/parser.rs | 2 |
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(( |