diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-03-31 19:31:20 +0200 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2014-03-31 19:31:20 +0200 |
commit | 080f7b8777d237aeadae68b8e716c7b8ccd7bc0a (patch) | |
tree | 23e37ea3219ef4d936b45316f57b6d561784affa /Visitor | |
parent | a72bfbb80a5b971a036f21c95e7bbfca001e1427 (diff) | |
download | Praspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.zip Praspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.tar.gz Praspel-080f7b8777d237aeadae68b8e716c7b8ccd7bc0a.tar.bz2 |
Avoid some creation of a #dynamic_resolution node.
Diffstat (limited to 'Visitor')
-rw-r--r-- | Visitor/Interpreter.php | 3 |
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) { |