mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
object->assembly shouldn't presume existence of %nil
The %nil constant only exists if SCM_ENABLE_ELISP is defined. * module/language/assembly (object->assembly): check for existence of %nil
This commit is contained in:
parent
870d7a2b4f
commit
7beae9f15a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@
|
|||
(define (object->assembly x)
|
||||
(cond ((eq? x #t) `(make-true))
|
||||
((eq? x #f) `(make-false))
|
||||
((eq? x %nil) `(make-nil))
|
||||
((and (defined? '%nil) (eq? x %nil)) `(make-nil))
|
||||
((null? x) `(make-eol))
|
||||
((and (integer? x) (exact? x))
|
||||
(cond ((and (<= -128 x) (< x 128))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue