let the printer output proc objects and unknown values
This commit is contained in:
parent
c706d4f326
commit
22414b61e8
|
@ -26,5 +26,11 @@ pic_debug(pic_state *pic, pic_value obj)
|
|||
case PIC_TT_UNDEF:
|
||||
printf("#<undef>");
|
||||
break;
|
||||
case PIC_TT_PROC:
|
||||
printf("#<proc %p>", pic_proc_ptr(obj));
|
||||
break;
|
||||
default:
|
||||
printf("#<unknown type>");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue