fixed macro compilation when a variable name is a PHP reserved keyword (closes #881)
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 5 Nov 2012 07:50:56 +0000 (08:50 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 5 Nov 2012 07:52:04 +0000 (08:52 +0100)
commitabec35b833abfce5eb0ac7ce2bf2bf3462a5bebf
tree909ba5e870e47da055e54d89cb79d0d7a6bee08a
parenta009821dd31fa783269602507542cea978c9714a
fixed macro compilation when a variable name is a PHP reserved keyword (closes #881)
CHANGELOG
lib/Twig/Node/Macro.php
test/Twig/Tests/Fixtures/macros/reserved_variables.test [new file with mode: 0644]
test/Twig/Tests/Node/MacroTest.php