[climacs-devel] Case missing from class regexp's print-object method

Christophe Rhodes csr21 at cam.ac.uk
Sat Aug 27 22:02:15 UTC 2005


Derek Peschel <dpeschel at eskimo.com> writes:

> A regexp object may temporarily have a KIND slot of nil, but the print-object
> method can't handle that case.  In normal use this doesn't matter, but when
> tracing the parsing functions, the debugger tries to call print-object
> on fresly-created regexp objects.  So I've taken a stab at a patch, copied
> below.

I don't know what's the rationale behind the print-object method here,
but wouldn't one solution be to print those regexps which aren't meant
to be subsequently readable with PRINT-UNREADABLE-OBJECT?

Cheers,

Christophe



More information about the climacs-devel mailing list