aboutsummaryrefslogtreecommitdiff
path: root/src/boot/strap
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-04-18 17:41:01 +0000
committerdos-reis <gdr@axiomatics.org>2011-04-18 17:41:01 +0000
commita4a45e923a2435574c09619da442fd15e71b2652 (patch)
tree46db3f474ca5b7979597bcff5ce38795968cb79d /src/boot/strap
parent18cdfe64dbe07358b58d06a70b8d6bc2c276769d (diff)
downloadopen-axiom-a4a45e923a2435574c09619da442fd15e71b2652.tar.gz
cleanup
Diffstat (limited to 'src/boot/strap')
-rw-r--r--src/boot/strap/ast.clisp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/boot/strap/ast.clisp b/src/boot/strap/ast.clisp
index 9468fb13..81ae3841 100644
--- a/src/boot/strap/ast.clisp
+++ b/src/boot/strap/ast.clisp
@@ -907,7 +907,7 @@
CDAAR CDDAR CDADR CDDDR))
(SETQ |p| (|bfPosition| (CAR |expr|) |funs|))
(COND
- ((EQUAL |p| (- 1)) (LIST |acc| |expr|))
+ ((EQL |p| (- 1)) (LIST |acc| |expr|))
(T (SETQ |funsA|
'(CAAR CADR CAAAR CADAR CAADR CADDR CAAAAR CAADAR
CAAADR CAADDR CADAAR CADDAR CADADR CADDDR))
@@ -963,10 +963,8 @@
((|bfString?| |rhs|)
(|bfAND| (LIST (LIST 'STRINGP |lhs|)
(LIST 'STRING= |lhs| |rhs|))))
- ((|bfChar?| |rhs|)
- (|bfAND| (LIST (LIST 'CHARACTERP |lhs|)
- (LIST 'CHAR= |lhs| |rhs|))))
- ((INTEGERP |rhs|) (LIST 'EQL |lhs| |rhs|))
+ ((OR (|bfChar?| |rhs|) (INTEGERP |rhs|))
+ (LIST 'EQL |lhs| |rhs|))
((ATOM |rhs|) (LIST 'PROGN (|bfLetForm| |rhs| |lhs|) 'T))
((AND (CONSP |rhs|) (EQ (CAR |rhs|) 'QUOTE)
(PROGN
@@ -1211,7 +1209,8 @@
(DEFUN |bfSmintable| (|x|)
(OR (INTEGERP |x|)
- (AND (CONSP |x|) (MEMQ (CAR |x|) '(SIZE LENGTH CHAR-CODE)))))
+ (AND (CONSP |x|)
+ (MEMQ (CAR |x|) '(SIZE LENGTH CHAR-CODE MAXINDEX + -)))))
(DEFUN |bfString?| (|x|)
(OR (STRINGP |x|)