From 4a2c7ebb1add6135144de6d560b3724a4173362a Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 30 Apr 2024 02:47:25 +0000 Subject: [PATCH] debug git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@88 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Serenade/parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.0