aboutsummaryrefslogtreecommitdiff
path: root/src/boot/translator.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/translator.boot')
-rw-r--r--src/boot/translator.boot5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/boot/translator.boot b/src/boot/translator.boot
index 430f3909..6fca0944 100644
--- a/src/boot/translator.boot
+++ b/src/boot/translator.boot
@@ -503,9 +503,8 @@ shoeRemovebootIfNec s ==
shoeRemoveStringIfNec('".boot",s)
shoeRemoveStringIfNec(str,s)==
- n := SEARCH(str,s,KEYWORD::FROM_-END,true)
- n = nil => s
- subString(s,0,n)
+ n := stringSuffix?(str,s) => subString(s,0,n)
+ s
-- DEFUSE prints the definitions not used and the words used and
-- not defined in the input file and common lisp.