diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-07-03 09:52:49 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-07-31 10:27:15 +0200 |
commit | 8d8391543c2bcc2f6b2f4cef407f1216c99183d2 (patch) | |
tree | 5cd9db16755af1566b67cc5d9a7f36137a912160 /askama_parser/src/node.rs | |
parent | c5174eb82986026382286f7e4028b2fed49edf5e (diff) | |
download | askama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.tar.gz askama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.tar.bz2 askama-8d8391543c2bcc2f6b2f4cef407f1216c99183d2.zip |
parser: flatten top-level Expr interface
Diffstat (limited to 'askama_parser/src/node.rs')
-rw-r--r-- | askama_parser/src/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_parser/src/node.rs b/askama_parser/src/node.rs index 8f07a43..4e916fc 100644 --- a/askama_parser/src/node.rs +++ b/askama_parser/src/node.rs @@ -96,7 +96,7 @@ impl<'a> Node<'a> { cut(tuple(( opt(tuple((ws(identifier), ws(tag("::"))))), ws(identifier), - opt(ws(Expr::parse_arguments)), + opt(ws(Expr::arguments)), opt(Whitespace::parse), ))), )); |