aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/ISTRING.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-07 00:39:58 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-07 00:39:58 +0000
commit351022a3ec02f6e131d54f3a5bcb27a8dfffbcb0 (patch)
tree0b137b74a6663d6875e7f6d8862833f782032bd4 /src/algebra/strap/ISTRING.lsp
parent2eef476c721ed93b1acaaf1a77e20b5b7c73ed4f (diff)
downloadopen-axiom-351022a3ec02f6e131d54f3a5bcb27a8dfffbcb0.tar.gz
* interp/c-util.boot (matchingEXIT): New.
(simplifySEQ): Use it.
Diffstat (limited to 'src/algebra/strap/ISTRING.lsp')
-rw-r--r--src/algebra/strap/ISTRING.lsp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/strap/ISTRING.lsp b/src/algebra/strap/ISTRING.lsp
index 852c3da2..692f7a04 100644
--- a/src/algebra/strap/ISTRING.lsp
+++ b/src/algebra/strap/ISTRING.lsp
@@ -233,11 +233,11 @@
(EXIT |r|))))))
(DEFUN |ISTRING;setelt;$I2C;16| (|s| |i| |c| $)
- (SEQ (COND
- ((OR (< |i| (SVREF $ 6))
- (< (SPADCALL |s| (|getShellEntry| $ 47)) |i|))
- (|error| "index out of range"))
- (T (SEQ (SETF (CHAR |s| (- |i| (SVREF $ 6))) |c|) (EXIT |c|))))))
+ (COND
+ ((OR (< |i| (SVREF $ 6))
+ (< (SPADCALL |s| (|getShellEntry| $ 47)) |i|))
+ (|error| "index out of range"))
+ (T (SEQ (SETF (CHAR |s| (- |i| (SVREF $ 6))) |c|) (EXIT |c|)))))
(DEFUN |ISTRING;substring?;2$IB;17| (|part| |whole| |startpos| $)
(LET ((|np| (LENGTH |part|)) (|nw| (LENGTH |whole|)))