mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-20 19:50:29 -07:00
[wip] write ugly print corrupted objects
This commit is contained in:
parent
5ea9949838
commit
c73b2e73d9
1 changed files with 7 additions and 1 deletions
|
|
@ -459,10 +459,16 @@ write_illegal(cl_object x, cl_object stream)
|
|||
_ecl_write_unreadable(x, "illegal pointer", ECL_NIL, stream);
|
||||
}
|
||||
|
||||
static void
|
||||
write_corrupted(cl_object x, cl_object stream)
|
||||
{
|
||||
_ecl_write_unreadable(x, "corrupted", ECL_NIL, stream);
|
||||
}
|
||||
|
||||
typedef void (*printer)(cl_object x, cl_object stream);
|
||||
|
||||
static printer dispatch[FREE+1] = {
|
||||
0 /* t_start = 0 */,
|
||||
write_corrupted, /* t_start = 0 */
|
||||
_ecl_write_list, /* t_list = 1 */
|
||||
write_character, /* t_character = 2 */
|
||||
write_integer, /* t_fixnum = 3 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue