Fixed a segfault when the system can initialise no more pages.
Still not fixed the `member?` bug.
This commit is contained in:
parent
69b199fecd
commit
7d0ce67373
3 changed files with 25 additions and 19 deletions
|
|
@ -53,7 +53,7 @@ else
|
|||
fi
|
||||
|
||||
|
||||
expected='nil'
|
||||
expected='nil'(CDR )
|
||||
output=`target/psse $1 <<EOF
|
||||
(progn
|
||||
(set! nil? (lambda (o) (= (type o) "NIL ")))
|
||||
|
|
@ -86,7 +86,7 @@ output=`target/psse $1 -s100<<EOF
|
|||
(set! member?
|
||||
(lambda
|
||||
(item collection)
|
||||
;; (print (list "in member?: " 'item item 'collection collection))
|
||||
;; (print (list "in member?: " 'item item 'collection collection) *log*)(println *log*)
|
||||
(cond
|
||||
((nil? collection) nil)
|
||||
((= item (car collection)) t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue