From 10b07148ba8efec543ded60a4b7916960709ce1e Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 7 Mar 2015 09:04:07 -0600 Subject: All step0: add test, fix bugs, remove step0 eval. --- php/step7_quote.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php/step7_quote.php') 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; -- cgit v1.2.3