Always create a meaningful top-level list of exprs

This commit is contained in:
Justin Ethier 2015-05-15 13:03:07 -04:00
parent 28bde5821f
commit 0c983a6a08

View file

@ -899,7 +899,8 @@
(append (append
(reverse globals) (reverse globals)
(expand (expand
`((begin ,@(reverse exprs)))))) ;; 0 to ensure we always create a meaningful top-level
`((begin 0 ,@(reverse exprs))))))
(else (else
(cond (cond
((define? (car top-lvl)) ((define? (car top-lvl))