aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-output.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-02-20 17:24:05 +0000
committerdos-reis <gdr@axiomatics.org>2008-02-20 17:24:05 +0000
commit7ba4cd656138bedb567137ea662f26213bc2e898 (patch)
treedffa37ee129563ce966d52514ec6deb569794d9b /src/interp/i-output.boot
parent9fbb89443e0c88ee5e76d95a3eea2ac5ea9916b6 (diff)
downloadopen-axiom-7ba4cd656138bedb567137ea662f26213bc2e898.tar.gz
* lisp/core.lisp.in [SBCL]: Require "sb-posix".
(|resetErrorCount|): New export function. * interp/vmlisp.lisp (opOf): Remove macro definition. * interp/msg.boot (setMsgCatlessAttr): Fix thinko. * interp/monitor.lisp (monitor-add): Remove extra right parenthesis. * interp/lisplib.boot: Import "debug". (initializeLisplib): Don't use ERRORS variable. * interp/i-spec1.boot (isDomainValuedVariable): Tidy. * interp/i-output.boot (outputTran): Use SIZE instead of #. (output): Remove misguided conversion from Tuple to List. * interp/i-coerce.boot (coerceInteractive): Allow domain object convesions. * interp/g-util.boot (opOf): Declare. * interp/Makefile.pamphlet (lisplib.$(FASLEXT)): Depend on debug.$(FASLEXT). * algebra/Makefile.pamphlet: Use .$(FASLEXT) instead of hardcoded .o extension.
Diffstat (limited to 'src/interp/i-output.boot')
-rw-r--r--src/interp/i-output.boot7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/interp/i-output.boot b/src/interp/i-output.boot
index ce11e725..c3d46723 100644
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -383,11 +383,11 @@ outputTran x ==
op is ["$elt",targ,fun] or not $InteractiveMode and op is ["elt",targ,fun] =>
-- l has the args
targ' := obj2String prefix2String targ
- if 2 = #targ then targ' := ['PAREN,targ']
+ if 2 = SIZE targ then targ' := ['PAREN,targ']
['CONCAT,outputTran [fun,:l],'"$",targ']
x is ["$elt",targ,c] or not $InteractiveMode and x is ["elt",targ,c] =>
targ' := obj2String prefix2String targ
- if 2 = #targ then targ' := ['PAREN,targ']
+ if 2 = SIZE targ then targ' := ['PAREN,targ']
['CONCAT,outputTran c,'"$",targ']
x is ["-",a,b] =>
a := outputTran a
@@ -1405,9 +1405,6 @@ output(expr,domain) ==
SPADCALL(SPADCALL textwrit, expr, printfun)
sayMSGNT '%l
- -- big hack for tuples for new compiler
- domain is ['Tuple, S] => output(asTupleAsList expr, ['List, S])
-
sayALGEBRA [:bright '"LISP",'"output:",'%l,expr or '"NIL"]
outputNumber(start,linelength,num) ==