aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Interpreter.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-04-16 14:38:48 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-04-16 14:38:48 +0200
commitc2c368e07a224f7817c033e9a9761ff0241d76ae (patch)
tree770e647579fee4266fc247a990e0e160dd042080 /Visitor/Interpreter.php
parentd7686611a91db048f43c0be3b4ffec295de6c623 (diff)
downloadPraspel-c2c368e07a224f7817c033e9a9761ff0241d76ae.zip
Praspel-c2c368e07a224f7817c033e9a9761ff0241d76ae.tar.gz
Praspel-c2c368e07a224f7817c033e9a9761ff0241d76ae.tar.bz2
Fix an error while computing a @behavior ID.
Diffstat (limited to 'Visitor/Interpreter.php')
-rw-r--r--Visitor/Interpreter.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index 8357c5f..fb3948e 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -153,7 +153,7 @@ class Interpreter implements \Hoa\Visitor\Visit {
$this->_clause = $this->_current
= $this->_current->getClause('behavior');
$this->_clause->setIdentifier(
- $child0->accept($this, $handle, $eldnah)
+ $child0->accept($this, $handle, false)
);
foreach($children as $child)
@@ -388,6 +388,7 @@ class Interpreter implements \Hoa\Visitor\Visit {
case 'identifier':
if(false !== $eldnah)
return $this->getIdentifier($value);
+
return $value;
case 'content':