From: nishi Date: Tue, 30 Apr 2024 02:47:25 +0000 (+0000) Subject: debug X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4a2c7ebb1add6135144de6d560b3724a4173362a;p=serenade.git debug git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@88 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- diff --git a/Serenade/parser.c b/Serenade/parser.c index 798c589..78f2f63 100644 --- a/Serenade/parser.c +++ b/Serenade/parser.c @@ -237,7 +237,9 @@ void sn_generic_free(struct sn_interpreter* sn, struct sn_generic* g) { } else if(g->type == SN_TYPE_FUNCTION || g->type == SN_TYPE_VARIABLE) { free(g->name); } - printf("freed type %d\n", g->type); + printf("freed type %d \n:", g->type); + sn_print_to(stdout, g); + printf("\n"); free(g); if(sn == NULL) return; int i;