aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Compiler.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 16:13:48 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 16:13:48 +0100
commiteb9d1c54d3687e25ad15febc55efd28af6a2a2bd (patch)
treed47eeb5342305704e486b15a38db9c5920547463 /Visitor/Compiler.php
parente057548616f186e5d717d6fed8ddb2f21237500b (diff)
downloadPraspel-eb9d1c54d3687e25ad15febc55efd28af6a2a2bd.zip
Praspel-eb9d1c54d3687e25ad15febc55efd28af6a2a2bd.tar.gz
Praspel-eb9d1c54d3687e25ad15febc55efd28af6a2a2bd.tar.bz2
Fix compilation of crate variable.
Diffstat (limited to 'Visitor/Compiler.php')
-rw-r--r--Visitor/Compiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Visitor/Compiler.php b/Visitor/Compiler.php
index 4c52a70..1889253 100644
--- a/Visitor/Compiler.php
+++ b/Visitor/Compiler.php
@@ -314,7 +314,7 @@ class Compiler implements \Hoa\Visitor\Visit {
'\'))';
else
$out .= 'variable($' . $holder->getClause()->getId() .
- '[\'' . $holder->getName() . '\'])';
+ '->getVariable(\'' . $holder->getName() . '\', true))';
}
else