From 1272589e9dbbf247bc21e6970137eba8dcc947f3 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Fri, 24 Jul 2015 21:24:21 +0100 Subject: change bool -> boolx --- utils/acid/expr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'utils/acid/expr.c') diff --git a/utils/acid/expr.c b/utils/acid/expr.c index 826edef5..23c3ce26 100644 --- a/utils/acid/expr.c +++ b/utils/acid/expr.c @@ -840,10 +840,10 @@ ocand(Node *n, Node *res) res->nstore.u0.sival = 0; expr(n->left, &l); res->nstore.fmt = l.nstore.fmt; - if(bool(&l) == 0) + if(boolx(&l) == 0) return; expr(n->right, &r); - if(bool(&r) == 0) + if(boolx(&r) == 0) return; res->nstore.u0.sival = 1; } @@ -857,7 +857,7 @@ onot(Node *n, Node *res) res->type = TINT; res->nstore.u0.sival = 0; expr(n->left, &l); - if(bool(&l) == 0) + if(boolx(&l) == 0) res->nstore.u0.sival = 1; } @@ -870,12 +870,12 @@ ocor(Node *n, Node *res) res->type = TINT; res->nstore.u0.sival = 0; expr(n->left, &l); - if(bool(&l)) { + if(boolx(&l)) { res->nstore.u0.sival = 1; return; } expr(n->right, &r); - if(bool(&r)) { + if(boolx(&r)) { res->nstore.u0.sival = 1; return; } -- cgit v1.2.3