aboutsummaryrefslogtreecommitdiff
path: root/src/boot/includer.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-09-30 19:40:42 +0000
committerdos-reis <gdr@axiomatics.org>2011-09-30 19:40:42 +0000
commit4cb6f558586ccd4893c2acd088bba66654f6bf19 (patch)
treeabe984a499222f151ae26a6973356ac2e97ed6f8 /src/boot/includer.boot
parent09ad07bc33ad4ce8d7e4ac1f9e5bb5e7cb9a9498 (diff)
downloadopen-axiom-4cb6f558586ccd4893c2acd088bba66654f6bf19.tar.gz
* boot/utility.boot (firstNonblankPosition): New.
(firstBlankPosition): Likewis. * boot/translator.boot (reallyPrettyPrint): New. (genOptimizeOptions): Use it. (evalBootFile): Tidy. (shoePPtoFile): Remove as deadcode. (shoeAddbootIfNec): Rewrite. (shoeAddStringIfNec): Remove. * boot/scanner.boot (shoeNextLine): Use firstNonblankPosition. (shoeEsc): Likewise. (shoePossFloat): Likewise. * boot/initial-env.lisp ($IEEE): Remove. (*LISP-BIN-FILETYPE*): Likewise. (*LISP-SOURCE-FILETYPE*): Likewise. (SHOEPRETTYPRINT1): Likewise, (REALLYPRETTYPRINT): Likewise. (SHOENOPRETTYPRINT): Likewise. (STRPOS): Likewise. (STRPOSL): Likewise. (shoeReadLisp): Likewise.
Diffstat (limited to 'src/boot/includer.boot')
-rw-r--r--src/boot/includer.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/includer.boot b/src/boot/includer.boot
index a878844d..1095031c 100644
--- a/src/boot/includer.boot
+++ b/src/boot/includer.boot
@@ -219,9 +219,9 @@ shoeLisp? s == shoePrefix?('")lisp", s)
shoeLine? s == shoePrefix?('")line", s)
shoeBiteOff x ==
- n :=STRPOSL('" ",x,0,true)
+ n := firstNonblankPosition(x,0)
n = nil => false
- n1 := STRPOSL ('" ",x,n,nil)
+ n1 := firstBlankPosittion(x,n)
n1 = nil => [subString(x,n),'""]
[subString(x,n,n1-n),subString(x,n1)]