*compile-file-{pathname,truename}* were not properly bound in bytecmp.lsp

This commit is contained in:
Juan Jose Garcia Ripoll 2011-07-30 12:26:28 +02:00
parent c762dea2e7
commit 2c8c8abfbc

View file

@ -61,7 +61,9 @@
(when *compile-verbose*
(format t "~&;;; Compiling ~A" input))
(cond ((not (streamp input))
(let ((ext:*source-location* (cons (truename input) 0)))
(let* ((ext:*source-location* (cons (truename input) 0))
(*compile-file-pathname* (pathname (merge-pathnames input)))
(*compile-file-truename* (truename input)))
(with-open-file (sin input :direction :input)
(bc-compile-file sin :output-file output-file))))
((not output-file-p)