From: nishi Date: Tue, 23 Apr 2024 06:23:31 +0000 (+0000) Subject: h X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2ab7bf34eb0ad3fbf38dc997429f4b9c07ed79c1;p=serenade.git h git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@17 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- diff --git a/Serenade/parser.c b/Serenade/parser.c index a3ae6a2..e7c72fa 100644 --- a/Serenade/parser.c +++ b/Serenade/parser.c @@ -115,8 +115,8 @@ struct sn_generic* sn_expr_parse(char* data, unsigned long long size){ if(br > 0){ gn_stack[br - 1]->tree->op->name = sn_strdup(op_stack[br - 1]); } + PUSH_STACK(br - 1); br_stack[br - 1] = 0; - PUSH_STACK(br - 2); if(br_stack[br - 2] > 0){ int j; struct sn_generic** old_args = gn_stack[br - 2]->tree->args;