aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-output.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-03 17:14:17 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-03 17:14:17 +0000
commit8ea3a4b4aae5c6c1287bc4e48a2fcdd33a51a7f5 (patch)
tree997b63dfc2408dbce2bed4b98f5f9cf9e08e0de0 /src/interp/i-output.boot
parentd31c116e4080b085554c7f5cad72851cdb0e7b16 (diff)
downloadopen-axiom-8ea3a4b4aae5c6c1287bc4e48a2fcdd33a51a7f5.tar.gz
* interp/c-util.boot: Replace COND with %when throught.
Use %otherwise instead of %true where appropriate. * interp/define.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-opt.boot: Likewise. * interp/i-code.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/i-spec2.boot: Likewise. * interp/i-util.boot: Likewise. * interp/info.boot: Likewise. * interp/modemap.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/slam.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise. * interp/compiler.boot (canReturn): Don't test for COND anymore.
Diffstat (limited to 'src/interp/i-output.boot')
-rw-r--r--src/interp/i-output.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/i-output.boot b/src/interp/i-output.boot
index 41693905..cda260f4 100644
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2010, Gabriel Dos Reis.
+-- Copyright (C) 2007-2011, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -971,7 +971,7 @@ getBindingPowerOf(key,x) ==
--binding powers can be found in file NEWAUX LISP
x is ['REDUCE,:.] => (key='left => 130; key='right => 0)
x is ["REPEAT",:.] => (key="left" => 130; key="right" => 0)
- x is ["COND",:.] => (key="left" => 130; key="right" => 0)
+ x is ['%when,:.] => (key="left" => 130; key="right" => 0)
x is [op,:argl] =>
if op is [a,:.] then op:= a
op = 'SLASH => getBindingPowerOf(key,["/",:argl]) - 1