]> git.ipfire.org Git - thirdparty/jinja.git/commit
Only support implicit tuples in variable expressions GH-1194-formal-grammar
authorKevin Brown <kevin@kevin-brown.com>
Sat, 16 May 2020 21:54:52 +0000 (17:54 -0400)
committerKevin Brown <kevin@kevin-brown.com>
Sat, 16 May 2020 21:54:52 +0000 (17:54 -0400)
commit7e67623cbf1d1709a7cf8945d48d2b7b259387c8
tree22b5aa89e357e7d4ce0ebbc5288e679d8043ebde
parent7151d778c45cfcd230dc949045e8bf7e3d21ec74
Only support implicit tuples in variable expressions

They cause super inconsistent parsing behaviour if they show up
pretty much anywhere else because there is no difference between an
implicit tuple and a set of comma-separated parameters.
grammar.ebnf
src/jinja2/new_parser.py