]> git.ipfire.org Git - thirdparty/jinja.git/commit
Fix grammar parsing for block separators
authorKevin Brown <kevin@kevin-brown.com>
Fri, 15 May 2020 22:03:35 +0000 (18:03 -0400)
committerKevin Brown <kevin@kevin-brown.com>
Fri, 15 May 2020 22:03:35 +0000 (18:03 -0400)
commit9bb793c19011c4ca898fac7e82d81dba5e30e117
tree247b55d650ce588b19641083b8761e1e74b29b3c
parentf86503d13a230d6bf699ba0222031e338dffd19d
Fix grammar parsing for block separators

Previously this allows blocks to be separated by commas and have one
trailing off. Now this only allows blocks to be properly separated
by commas and trailing comms are no longer allowed. This also now
enforces that when parameters are not separated by commas, they are
spearated by at least one space.
grammar.ebnf