From 6240af533b446ed58f142e6c2131aac95d253e9e Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 1 Mar 2012 01:19:01 +0100 Subject: Removed a temporary debug output. --- stupid_template_engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"; } /* -- cgit v1.2.3-54-g00ecf