aboutsummaryrefslogtreecommitdiff
path: root/src/interp/format.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2012-05-23 04:50:38 +0000
committerdos-reis <gdr@axiomatics.org>2012-05-23 04:50:38 +0000
commitb12753cada058f5fafd9f6aeaa7d2e932eb8ff23 (patch)
tree8bdb159cd3a573d179c2efa68832937695055574 /src/interp/format.boot
parenta8faa740f1e13fce63ac23326a227655bca7a0b2 (diff)
downloadopen-axiom-b12753cada058f5fafd9f6aeaa7d2e932eb8ff23.tar.gz
* interp/br-search.boot: Use findChar and findString in lieu of STRPOS.
* interp/database.boot: Likewise. * interp/format.boot: Likewise. * interp/i-funsel.boot: Likewise. * interp/i-map.boot: Likewise. * interp/match.boot: Likewise. * interp/scan.boot: Likewise. * interp/trace.boot: Likewise.
Diffstat (limited to 'src/interp/format.boot')
-rw-r--r--src/interp/format.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/format.boot b/src/interp/format.boot
index e46fbdac..9303a252 100644
--- a/src/interp/format.boot
+++ b/src/interp/format.boot
@@ -628,7 +628,7 @@ isInternalFunctionName(op) ==
1 = #op' or char "*" ~= stringChar(op',0) => nil
-- if there is a semicolon in the name then it is the name of
-- a compiled spad function
- null (e := STRPOS('"_;",op',1,nil)) => nil
+ null (e := findChar(char ";",op',1)) => nil
char " " = stringChar(op',1) or char "*" = stringChar(op',1) => nil
table := MAKETRTTABLE('"0123456789",nil)
s := STRPOSL(table,op',1,true)