]> git.ipfire.org Git - thirdparty/jinja.git/commit
Added tuple literal support
authorKevin Brown <kevin@kevin-brown.com>
Fri, 8 May 2020 12:49:24 +0000 (08:49 -0400)
committerKevin <kevin@kevin-brown.com>
Sun, 10 May 2020 01:50:06 +0000 (21:50 -0400)
commitcaf8992e991f4132a89c5d8f23bd6af540f9822e
tree713fe4b77c6e42f9146be16478546dcf0bfe74aa
parenta9d8449fa1f15a902d23cc346c12d1ff8d21520d
Added tuple literal support

This maintains the expectation that tuple literals will always end
with a comma if there is a single item.

The example is the combined one from the Jinja docs but it does not
include the comma for the tuple assignment since the grammar does
not currently support that.
tatsu_grammar.txt
test_template.jinja