summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-03-01 01:19:01 +0100
committerKevin Chabowski <kevin@kch42.de>2012-03-01 01:19:01 +0100
commit6240af533b446ed58f142e6c2131aac95d253e9e (patch)
tree95fe738a74eab8476fbfea48b8459b4d56e854bb /stupid_template_engine.php
parenta8eea9562d9961fb9b55ccbf4b01cc9c8bc10e63 (diff)
downloadste-6240af533b446ed58f142e6c2131aac95d253e9e.tar.gz
ste-6240af533b446ed58f142e6c2131aac95d253e9e.tar.bz2
ste-6240af533b446ed58f142e6c2131aac95d253e9e.zip
Removed a temporary debug output.
Diffstat (limited to 'stupid_template_engine.php')
-rw-r--r--stupid_template_engine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index 7636bcc..de6a89b 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -886,7 +886,7 @@ $ste_transc_boilerplate = "\$outputstack = array('');\n\$outputstack_i = 0;\n";
function transcompile($ast) /* Transcompile and add some boilerplate code. */
{
global $ste_transc_boilerplate;
- return "function(\$ste)\n{/*" . print_r($ast, True) . "*/\n" . indent_code($ste_transc_boilerplate . _transcompile($ast) . "return array_pop(\$outputstack);") . "\n}";
+ return "function(\$ste)\n{\n" . indent_code($ste_transc_boilerplate . _transcompile($ast) . "return array_pop(\$outputstack);") . "\n}";
}
/*