COMPILE-FILE only outputs NIL when there were serious errors

This commit is contained in:
Juan Jose Garcia Ripoll 2010-02-16 22:31:54 +01:00
parent a4027bd364
commit cee6703602
2 changed files with 2 additions and 2 deletions

View file

@ -703,7 +703,7 @@ compiled successfully, returns the pathname of the compiled file"
(setf warning-p t))
((typep i '(or compiler-error warning))
(setf warning-p t failure-p t)))
finally (return (values (and (not failure-p) main-value) warning-p failure-p))))
finally (return (values main-value warning-p failure-p))))
#-dlopen
(defun compile (name &optional (def nil supplied-p))

View file

@ -587,7 +587,7 @@ compiled successfully, returns the pathname of the compiled file"
(setf warning-p t))
((typep i '(or compiler-error warning))
(setf warning-p t failure-p t)))
finally (return (values (and (not failure-p) main-value) warning-p failure-p))))
finally (return (values main-value warning-p failure-p))))
#-dlopen
(defun compile (name &optional (def nil supplied-p))