aboutsummaryrefslogtreecommitdiff
path: root/php/step7_quote.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/step7_quote.php')
-rw-r--r--php/step7_quote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/step7_quote.php b/php/step7_quote.php
index 37903d0..cb98825 100644
--- a/php/step7_quote.php
+++ b/php/step7_quote.php
@@ -117,7 +117,7 @@ function MAL_EVAL($ast, $env) {
// print
function MAL_PRINT($exp) {
- return _pr_str($exp, True) . "\n";
+ return _pr_str($exp, True);
}
// repl
@@ -155,7 +155,7 @@ do {
$line = mal_readline("user> ");
if ($line === NULL) { break; }
if ($line !== "") {
- print(rep($line));
+ print(rep($line) . "\n");
}
} catch (BlankException $e) {
continue;