aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-map.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/i-map.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/i-map.boot')
-rw-r--r--src/interp/i-map.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/i-map.boot b/src/interp/i-map.boot
index 33d78c0f..233c41ae 100644
--- a/src/interp/i-map.boot
+++ b/src/interp/i-map.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2011, Gabriel Dos Reis.
+-- Copyright (C) 2007-2012, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ isInternalMapName name ==
sz := # (name' := symbolName name)
(sz < 7) or (char "*" ~= name'.0) => false
not digit? name'.1 => false
- null STRPOS('"_;",name',1,nil) => false
+ null findChar(char ";",name',1) => false
-- good enough
true