From: Kevin Date: Sun, 10 May 2020 19:47:53 +0000 (-0400) Subject: Allow optional comma after block keyword parameters X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=272a7e9b7f47c1cb59ec040a3c2e9d8d6bce872c;p=thirdparty%2Fjinja.git Allow optional comma after block keyword parameters It looks like this is only currently support within `{% with %}` blocks in Jinja, instead of space-separating the parameters, but this may also be happening in extensions as well. --- diff --git a/grammar.ebnf b/grammar.ebnf index 0738c4e8..93e94172 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -110,6 +110,7 @@ block_parameter block_parameter_key_value = key:block_parameter_key {SP}* "=" {SP}* value:variable_accessor_call_parameter_value + [ {SP}* "," ] ; block_parameter_key