src/final.lisp (test-module): Don't try output if parsing failed.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 25 Mar 2017 18:10:46 +0000 (18:10 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000 (19:58 +0100)
src/final.lisp

index 96d82df..b98acd1 100644 (file)
@@ -49,7 +49,7 @@
    warnings encountered while processing the module."
   (multiple-value-bind (module nerror nwarning)
       (count-and-report-errors () (read-module path))
-    (when reason
+    (when (and module reason)
       (with-open-file (out *debugout-pathname*
                       :direction :output
                       :if-exists :supersede