From 9a930bc67ec2768d9e1ff37537864b51e33483f9 Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 26 Apr 2024 05:20:12 +0000 Subject: [PATCH] better printing git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@45 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Serenade/interpreter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Serenade/interpreter.c b/Serenade/interpreter.c index 2e24cc9..ebc1f2f 100644 --- a/Serenade/interpreter.c +++ b/Serenade/interpreter.c @@ -79,9 +79,7 @@ struct sn_generic* print_handler(struct sn_interpreter* sn, int args, struct sn_ fflush(stdout); } printf("\n"); - gen->type = SN_TYPE_FUNCTION; - gen->name = sn_strdup("print"); - gen->handler = NULL; + gen->type = SN_TYPE_VOID; return gen; } -- 2.43.0