From 5bbd96ddbafec54310a9d3af110c4e1358f65315 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Fri, 18 Jun 2010 16:25:44 +0430 Subject: [PATCH] ncc: fix getting i's type in ++i --- ncc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ncc.c b/ncc.c index fa30775..cd004d0 100644 --- a/ncc.c +++ b/ncc.c @@ -725,8 +725,9 @@ static void readpost(void) static void inc_pre(void (*op)(void)) { - unsigned bt = TYPE_BT(&ts[nts - 1]); + unsigned bt; readpre(); + bt = TYPE_BT(&ts[nts - 1]); o_tmpcopy(); o_num(1, 4); ts_push_bt(bt); -- 2.11.4.GIT