From 640564c2126a2d10529d7ae52124caa02fe0445a Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Tue, 13 Jul 2010 01:45:47 +0430 Subject: [PATCH] ncc: fix calling ts_pop() prematurely in opassign() --- ncc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncc.c b/ncc.c index 8814c31..3ebeb5e 100644 --- a/ncc.c +++ b/ncc.c @@ -1091,8 +1091,8 @@ static void opassign(int op, int ptrop) o_tmpcopy(); readexpr(); ts_addop(op); - ts_pop(NULL); o_assign(TYPE_BT(&ts[nts - 1])); + ts_pop(NULL); } else { readexpr(); o_bop(op | O_SET); -- 2.11.4.GIT