Fixed a bug that caused internal errors if names where used as iteration
authorArmin Ronacher <armin.ronacher@active-4.com>
Wed, 11 Feb 2009 21:49:08 +0000 (22:49 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 11 Feb 2009 21:49:08 +0000 (22:49 +0100)
commit271a0eb911903c3e34c6ea484d00359e74fb589b
tree51bf78dc00ad5561b84d62c3339e97dd3b61e1bd
parent7887a8c63c482d99efcb9a2b69eefd2d70afd327
Fixed a bug that caused internal errors if names where used as iteration
variable and regular variable *after* the loop if that variable was unused
*before* the loop.  (#331)

--HG--
branch : trunk
CHANGES
jinja2/compiler.py
jinja2/nodes.py
tests/test_ext.py
tests/test_forloop.py
tests/test_heavy.py [new file with mode: 0644]