added a syntax error when using a loop variable that is not defined (closes #925)
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 10 Dec 2012 14:52:15 +0000 (15:52 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 10 Dec 2012 20:06:39 +0000 (21:06 +0100)
commit811dfad7c270b39b3d43aabbcfbc94b559eef845
treec9a495051c5c95264a54327db64e4708835cdd9a
parentaa15cae7351d2354b119244b50963dcfe6acbae5
added a syntax error when using a loop variable that is not defined (closes #925)
CHANGELOG
lib/Twig/TokenParser/For.php
test/Twig/Tests/Fixtures/tags/for/loop_not_defined.test [new file with mode: 0644]
test/Twig/Tests/Fixtures/tags/for/loop_not_defined_cond.test [new file with mode: 0644]