aboutsummaryrefslogtreecommitdiff
path: root/src/interp/trace.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-08-17 13:34:29 +0000
committerdos-reis <gdr@axiomatics.org>2009-08-17 13:34:29 +0000
commitcd78da3860f838c41aedc3a0c475cfc8c23eaad3 (patch)
treed5ff533c51c40fcfec604902bfc78c83db950a7b /src/interp/trace.boot
parentf20eeee3e9937d7696cc06841f6c411a0022963e (diff)
downloadopen-axiom-cd78da3860f838c41aedc3a0c475cfc8c23eaad3.tar.gz
* boot/tokens.boot: Retire "^" as negation operator.
* interp/br-search.boot: Use "not" instead of "^". * interp/br-util.boot: Likewise. * interp/database.boot: Likewise. * interp/define.boot: Likewise. * interp/format.boot: Likewise. * interp/g-error.boot: Likewise. * interp/i-analy.boot: Likewise. * interp/i-coerce.boot: Likewise. * interp/i-coerfn.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-map.boot: Likewise. * interp/i-output.boot: Likewise. * interp/i-resolv.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/i-spec2.boot: Likewise. * interp/i-syscmd.boot: Likewise. * interp/mark.boot: Likewise. * interp/modemap.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/spad-parser.boot: Likewise. * interp/trace.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise.
Diffstat (limited to 'src/interp/trace.boot')
-rw-r--r--src/interp/trace.boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/trace.boot b/src/interp/trace.boot
index fe279b93..eb7941e9 100644
--- a/src/interp/trace.boot
+++ b/src/interp/trace.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2008, Gabriel Dos Reis.
+-- Copyright (C) 2007-2009, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -733,7 +733,7 @@ traceReply() ==
addTraceItem EVAL x; functionList:= [x,:functionList])
userError '"bad argument to trace"
functionList:= "append"/[[rassocSub(x,$mapSubNameAlist),'" "]
- for x in functionList | ^isSubForRedundantMapName x]
+ for x in functionList | not isSubForRedundantMapName x]
if functionList then
2 = #functionList =>
sayMSG [" Function traced: ",:functionList]
@@ -792,7 +792,7 @@ tracelet(fn,vars) ==
if $letAssoc then SETLETPRINTFLAG true
$TRACELETFLAG : local := true
$QuickLet : local := false
- ^MEMQ(fn,$traceletFunctions) and ^IS__GENVAR fn and COMPILED_-FUNCTION_-P SYMBOL_-FUNCTION fn
+ not MEMQ(fn,$traceletFunctions) and not IS__GENVAR fn and COMPILED_-FUNCTION_-P SYMBOL_-FUNCTION fn
and not stupidIsSpadFunction fn and not GENSYMP fn =>
($traceletFunctions:= [fn,:$traceletFunctions]; compileBoot fn ;
$traceletFunctions:= delete(fn,$traceletFunctions) )
@@ -813,7 +813,7 @@ breaklet(fn,vars) ==
pair => (RPLACD(pair,vars); $letAssoc)
if $letAssoc then SETLETPRINTFLAG true
$QuickLet:local := false
- ^MEMQ(fn,$traceletFunctions) and not stupidIsSpadFunction fn
+ not MEMQ(fn,$traceletFunctions) and not stupidIsSpadFunction fn
and not GENSYMP fn =>
$traceletFunctions:= [fn,:$traceletFunctions]
compileBoot fn