diff options
Diffstat (limited to 'php/step8_macros.php')
| -rw-r--r-- | php/step8_macros.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/step8_macros.php b/php/step8_macros.php index c7e0175..d3d22d8 100644 --- a/php/step8_macros.php +++ b/php/step8_macros.php @@ -142,7 +142,7 @@ function MAL_EVAL($ast, $env) { // print function MAL_PRINT($exp) { - return _pr_str($exp, True) . "\n"; + return _pr_str($exp, True); } // repl @@ -182,7 +182,7 @@ do { $line = mal_readline("user> "); if ($line === NULL) { break; } if ($line !== "") { - print(rep($line)); + print(rep($line) . "\n"); } } catch (BlankException $e) { continue; |
