]> git.ipfire.org Git - thirdparty/jinja.git/commit
Support single-parameter tests without parentheses
authorKevin <kevin@kevin-brown.com>
Tue, 12 May 2020 00:02:48 +0000 (20:02 -0400)
committerKevin <kevin@kevin-brown.com>
Tue, 12 May 2020 00:02:48 +0000 (20:02 -0400)
commit826ad27552a0ce93922cb0b536fe6904101e095b
tree62f758a464d3cc21ff36922e2598b3e67239bea5
parent374f1ed29fd0a6d69ede31672dc72614328b4786
Support single-parameter tests without parentheses

This adds support for the optional parantheses in tests that are only
being supplied a single parameter. Tests which use parantheses are
currently not supported in the parser, but are supported in the grammar.
grammar.ebnf
new_parser.py
test_template.jinja