bah, bison decided to re-arange my tokens!

This commit is contained in:
Bill Currie 2002-10-16 06:31:00 +00:00
parent 8c2afef44c
commit 5eeb8bbda2
1 changed files with 2 additions and 1 deletions

View File

@ -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