From b3020ee8bf979037e4191558ee7f1131b5c82de7 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 17 Nov 2023 14:39:56 +0100 Subject: Allow to pass named arguments to macro calls --- askama_parser/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_parser/src/node.rs') diff --git a/askama_parser/src/node.rs b/askama_parser/src/node.rs index ba117c5..d11895b 100644 --- a/askama_parser/src/node.rs +++ b/askama_parser/src/node.rs @@ -577,7 +577,7 @@ impl<'a> Call<'a> { cut(tuple(( opt(tuple((ws(identifier), ws(tag("::"))))), ws(identifier), - opt(ws(|nested| Expr::arguments(nested, s.level.get()))), + opt(ws(|nested| Expr::arguments(nested, s.level.get(), true))), opt(Whitespace::parse), ))), )); -- cgit