[Ecls-list] return values of compile-file when erroneous EVAL-WHEN

Gabriel Dos Reis gdr at cs.tamu.edu
Mon May 19 18:38:00 UTC 2008

"Juan Jose Garcia-Ripoll" <jjgarcia at users.sourceforge.net> writes:

| On Mon, May 19, 2008 at 7:00 PM, Gabriel Dos Reis <gdr at cs.tamu.edu> wrote:
| >
| > Currently, when compiling a file foo.lisp that contains a form like
| >
| >    (eval-when (:compile-toplevel :load-toplevel)
| >        ...)
| >
| > and the evaluation of the "..." is not successful, ECL would rightly
| > print a message [...] However, ECL does not seem to have compile-file return the multiple value
| > (values nil t t) to indicate that the compilation failed.
| > This can be confusing for automated tools.
| Fixed. It also works now for errors in macroexpanded forms. Thanks

That was fast; thanks!

In case of failure, do you think it would be possible to print out the
offending sub-form that actually made the whole evaluation unsuccessful?

-- Gaby

More information about the ecl-devel mailing list