aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Interpreter.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-03-31 19:31:20 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-03-31 19:31:20 +0200
commit080f7b8777d237aeadae68b8e716c7b8ccd7bc0a (patch)
tree23e37ea3219ef4d936b45316f57b6d561784affa /Visitor/Interpreter.php
parenta72bfbb80a5b971a036f21c95e7bbfca001e1427 (diff)
downloadPraspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.zip
Praspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.tar.gz
Praspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.tar.bz2
Avoid some creation of a #dynamic_resolution node.
Diffstat (limited to 'Visitor/Interpreter.php')
-rw-r--r--Visitor/Interpreter.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index 0781763..ad60b68 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -408,9 +408,6 @@ class Interpreter implements \Hoa\Visitor\Visit {
break;
case '#dynamic_resolution':
- if(1 === $element->getChildrenNumber())
- return $element->getChild(0)->accept($this, $handle, $eldnah);
-
$value = null;
foreach($element->getChildren() as $child) {