]> git.ipfire.org Git - thirdparty/jinja.git/commit
Restrict where conditional expressions are allowed
authorKevin <kevin@kevin-brown.com>
Tue, 12 May 2020 01:05:37 +0000 (21:05 -0400)
committerKevin <kevin@kevin-brown.com>
Tue, 12 May 2020 01:07:58 +0000 (21:07 -0400)
commita877716f537e6b0bcbde543345442ace9c92ac3f
tree0b51d7b07f30fcb23ca3c511da649093fc0ed425
parent5d2e3728994b0234147de1f320d1367b8cb4152a
Restrict where conditional expressions are allowed

Previously conditional expressions were only allowed in things which
accepted parameters to call accessors, which is most things, but this
was found to be too broad. Many contexts to not actually allow conditional
expressions so this was restricted back to block parameters and variable
calls.
grammar.ebnf