aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Interpreter.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-29 12:34:23 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-29 12:34:23 +0200
commit2a5a9abbbff245d8c2aa2135949c46d9ca1f78bf (patch)
tree28af8857a2752e379a2166575d0e09ece8f94542 /Visitor/Interpreter.php
parent59c6e481e07158aca3000e2f94b4f80e9f82b4ed (diff)
downloadPraspel-2a5a9abbbff245d8c2aa2135949c46d9ca1f78bf.zip
Praspel-2a5a9abbbff245d8c2aa2135949c46d9ca1f78bf.tar.gz
Praspel-2a5a9abbbff245d8c2aa2135949c46d9ca1f78bf.tar.bz2
Crate variables are now created in Hoa\Realdom.
Diffstat (limited to 'Visitor/Interpreter.php')
-rw-r--r--Visitor/Interpreter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index be020ff..7af6727 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -294,7 +294,7 @@ class Interpreter implements \Hoa\Visitor\Visit {
if($value instanceof \Hoa\Realdom\Disjunction)
$disjunction[] = $value;
elseif($value instanceof \Hoa\Praspel\Model\Variable)
- $disjunction->variable(new \Hoa\Realdom\Crate\Variable($value));
+ $disjunction->variable($value);
else
$disjunction->const($value);
}