optimized macros when imported via the "import" tag
authorFabien Potencier <fabien.potencier@gmail.com>
Fri, 12 Oct 2012 13:21:26 +0000 (15:21 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Fri, 12 Oct 2012 14:09:40 +0000 (16:09 +0200)
commita4e10c14edfb5fa2b2996c7a10ef5348ea8115c5
tree093201286e650bc75a469fb2985478f0eaf53624
parent347bc81d6ed8e2bb793236aa9917c7e83f81c2b3
optimized macros when imported via the "import" tag

This commit unifies the way macros are called independently of how they
were included (via the from or import tag -- see e81c932).
CHANGELOG
lib/Twig/ExpressionParser.php
lib/Twig/Parser.php
lib/Twig/TokenParser/From.php
lib/Twig/TokenParser/Import.php