aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-28 04:51:23 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-28 04:51:23 +0000
commitaf089a02e32f424463e93e147b60222de0839f1e (patch)
tree221f73b1617d8246c1ca26d3a8ea38f5beac25ab /src/interp
parent17a1e0707ae07bd90ef6a9fafb2432027507bbf2 (diff)
downloadopen-axiom-af089a02e32f424463e93e147b60222de0839f1e.tar.gz
* boot/tokens.boot: args is now a selector.
* interp/g-timer.boot: Use integer? in lieu of INTP. * interp/i-syscmd.boot: Likewise. * interp/msgdb.boot: Likewise.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/g-timer.boot4
-rw-r--r--src/interp/i-syscmd.boot2
-rw-r--r--src/interp/msgdb.boot4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/interp/g-timer.boot b/src/interp/g-timer.boot
index 49f73575..91b48708 100644
--- a/src/interp/g-timer.boot
+++ b/src/interp/g-timer.boot
@@ -99,7 +99,7 @@ normalizeStatAndStringify t ==
t := roundStat t
t = 0.0 => '"0"
FORMAT(nil,'"~,2F",t)
- INTP t =>
+ integer? t =>
K := 1024
M := K*K
t > 9*M => strconc(STRINGIMAGE QUOTIENT(t + 512*K,M), '"M")
@@ -109,7 +109,7 @@ normalizeStatAndStringify t ==
significantStat t ==
RNUMP t => (t > 0.01)
- INTP t => (t > 100)
+ integer? t => (t > 100)
true
roundStat t ==
diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot
index fbc8fde0..6f46b0c0 100644
--- a/src/interp/i-syscmd.boot
+++ b/src/interp/i-syscmd.boot
@@ -2168,7 +2168,7 @@ dewritify ob ==
type = 'BPI =>
oname := ob.2
f :=
- INTP oname => eval GENSYMMER oname
+ integer? oname => eval GENSYMMER oname
SYMBOL_-FUNCTION oname
not COMPILED_-FUNCTION_-P f =>
error '"A required BPI does not exist."
diff --git a/src/interp/msgdb.boot b/src/interp/msgdb.boot
index 361ba344..0e758b04 100644
--- a/src/interp/msgdb.boot
+++ b/src/interp/msgdb.boot
@@ -254,7 +254,7 @@ $msgdbNoBlanksBeforeGroup := ['" ", " ", '"%", "%",_
$msgdbListPrims == '(%m %s %ce %rj "%m" "%s" "%ce" "%rj")
noBlankBeforeP word==
- INTP word => false
+ integer? word => false
member(word,$msgdbNoBlanksBeforeGroup) => true
if CVECP word and SIZE word > 1 then
word.0 = char '% and word.1 = char 'x => return true
@@ -266,7 +266,7 @@ $msgdbNoBlanksAfterGroup == ['" ", " ",'"%" ,"%", :$msgdbPrims,
"[", "(", '"[", '"(" ]
noBlankAfterP word==
- INTP word => false
+ integer? word => false
member(word,$msgdbNoBlanksAfterGroup) => true
if CVECP word and (s := SIZE word) > 1 then
word.0 = char '% and word.1 = char 'x => return true