From: nishi Date: Fri, 26 Apr 2024 05:20:12 +0000 (+0000) Subject: better printing X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9a930bc67ec2768d9e1ff37537864b51e33483f9;p=serenade.git better printing git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@45 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- 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; }