[Ecls-list] Unicode: uncomfortable situation

Matthew Mondor mm_lists at pulsar-zone.net
Tue Jan 25 22:14:21 UTC 2011


On Tue, 25 Jan 2011 22:44:26 +0100
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> universal-error-handler is the function which is reponsible for creating and
> signaling conditions. It is defined in src/clos/conditions.lsp with the
> following signature
> 
> (defun sys::universal-error-handler (continue-string datum args)
> 
> As you see, it is basically a CERROR on steroids. The CONTINUE-STRING
> argument allows for three ways of signalling error:
> * T for CERROR with the usual restart IGNORE
> * NIL for ERROR with no restarts and an opened debugger
> * A string for a CERROR with a CONTINUE restart. The string is the message.
> * A symbol for a named restart around a CERROR.

Oh, I found it strange that it seemed to call to a CL function, when
what I was seeing was a C function named unversal_error_handler() in
error.d for which I assumed to also exist a CL symbol.  But it really
was a Lisp function in conditions.lsp afterall, thanks for pointing it
to me.
-- 
Matt




More information about the ecl-devel mailing list