aboutsummaryrefslogtreecommitdiff
path: root/src/interp/modemap.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/modemap.boot')
-rw-r--r--src/interp/modemap.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/modemap.boot b/src/interp/modemap.boot
index 041289bf..f64ac59e 100644
--- a/src/interp/modemap.boot
+++ b/src/interp/modemap.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2009, Gabriel Dos Reis.
+-- Copyright (C) 2007-2010, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -142,7 +142,7 @@ addEltModemap(op,mc,sig,pred,fn,e) ==
--hack to change selectors from strings to identifiers; and to
--add flag identifiers as literals in the envir
op='elt and sig is [:lt,sel] =>
- STRINGP sel =>
+ string? sel =>
id:= INTERN sel
if $insideCapsuleFunctionIfTrue=true
then $e:= makeLiteral(id,$e)
@@ -151,7 +151,7 @@ addEltModemap(op,mc,sig,pred,fn,e) ==
-- atom sel => systemErrorHere '"addEltModemap"
addModemap1(op,mc,sig,pred,fn,e)
op='setelt and sig is [:lt,sel,v] =>
- STRINGP sel =>
+ string? sel =>
id:= INTERN sel
if $insideCapsuleFunctionIfTrue=true
then $e:= makeLiteral(id,$e)