diff --git a/src/write.c b/src/write.c index c0705711..5a4b2c56 100644 --- a/src/write.c +++ b/src/write.c @@ -26,5 +26,11 @@ pic_debug(pic_state *pic, pic_value obj) case PIC_TT_UNDEF: printf("#"); break; + case PIC_TT_PROC: + printf("#", pic_proc_ptr(obj)); + break; + default: + printf("#"); + break; } }