From 5eeb8bbda2947a9ffb0ac297ac44e48e02c38af0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 16 Oct 2002 06:31:00 +0000 Subject: [PATCH] bah, bison decided to re-arange my tokens! --- tools/qfcc/source/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index 042efba3d..ba778fd23 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -1487,7 +1487,8 @@ binary_expr (int op, expr_t *e1, expr_t *e2) } else { type = t1; } - if ((op >= OR && op <= GT) || op == '>' || op == '<') { + if (op == OR || op == AND || op == EQ || op == NE || op == LE + || op == GE || op == LT || op == GT || op == '>' || op == '<') { if (options.code.progsversion > PROG_ID_VERSION) type = &type_integer; else