diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-18 17:41:01 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-18 17:41:01 +0000 |
commit | a4a45e923a2435574c09619da442fd15e71b2652 (patch) | |
tree | 46db3f474ca5b7979597bcff5ce38795968cb79d /src/boot/ast.boot | |
parent | 18cdfe64dbe07358b58d06a70b8d6bc2c276769d (diff) | |
download | open-axiom-a4a45e923a2435574c09619da442fd15e71b2652.tar.gz |
cleanup
Diffstat (limited to 'src/boot/ast.boot')
-rw-r--r-- | src/boot/ast.boot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/boot/ast.boot b/src/boot/ast.boot index 3c921466..0fc4a122 100644 --- a/src/boot/ast.boot +++ b/src/boot/ast.boot @@ -641,8 +641,7 @@ bfISReverse(x,a) == bfIS1(lhs,rhs) == rhs = nil => ['NULL,lhs] bfString? rhs => bfAND [['STRINGP,lhs],["STRING=",lhs,rhs]] - bfChar? rhs => bfAND [['CHARACTERP,lhs],["CHAR=",lhs,rhs]] - integer? rhs => ['EQL,lhs,rhs] + bfChar? rhs or integer? rhs => ['EQL,lhs,rhs] atom rhs => ['PROGN,bfLetForm(rhs,lhs),'T] rhs is ['QUOTE,a] => symbol? a => ['EQ,lhs,rhs] @@ -745,10 +744,11 @@ defQuoteId x== x is ["QUOTE",:.] and symbol? second x bfChar? x == - char? x or cons? x and first x in '(char CODE_-CHAR SCHAR) + char? x or cons? x and x.op in '(char CODE_-CHAR SCHAR) bfSmintable x== - integer? x or cons? x and first x in '(SIZE LENGTH CHAR_-CODE) + integer? x or cons? x and + x.op in '(SIZE LENGTH CHAR_-CODE MAXINDEX _+ _-) bfString? x == string? x |