aboutsummaryrefslogtreecommitdiff
path: root/src/interp/diagnostics.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/diagnostics.boot')
-rw-r--r--src/interp/diagnostics.boot15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/interp/diagnostics.boot b/src/interp/diagnostics.boot
index a4cd8dca..d91e3679 100644
--- a/src/interp/diagnostics.boot
+++ b/src/interp/diagnostics.boot
@@ -80,14 +80,13 @@ MESSAGEPRINT x ==
MAPC(function MESSAGEPRINT_-1, x)
MESSAGEPRINT_-1 x ==
- x = "%l" or x = '"%l" => TERPRI()
- string? x => PRINC x
- IDENTP x => PRINC x
- atom x => PRINC x
- PRINC '"("
- MESSAGEPRINT_-1 first x
- MESSAGEPRINT_-2 rest x
- PRINC '")"
+ cons? x =>
+ PRINC '"("
+ MESSAGEPRINT_-1 first x
+ MESSAGEPRINT_-2 rest x
+ PRINC '")"
+ x = "%l" or x is '"%l" => TERPRI()
+ PRINC x
MESSAGEPRINT_-2 x ==
atom x =>