From 2adcad7c84e23522a94cf6f683b294b4cb5ab80a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 24 Feb 2020 02:25:28 +0900 Subject: [PATCH] Allow non-short-circuited logic to work --- tools/qfcc/source/expr_binary.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/qfcc/source/expr_binary.c b/tools/qfcc/source/expr_binary.c index ee1fb162c..228112311 100644 --- a/tools/qfcc/source/expr_binary.c +++ b/tools/qfcc/source/expr_binary.c @@ -72,6 +72,8 @@ static expr_type_t float_float[] = { {MOD, &type_float}, {SHL, &type_float}, {SHR, &type_float}, + {AND, &type_integer}, + {OR, &type_integer}, {EQ, &type_integer}, {NE, &type_integer}, {LE, &type_integer}, @@ -274,6 +276,8 @@ static expr_type_t integer_integer[] = { {MOD, &type_integer}, {SHL, &type_integer}, {SHR, &type_integer}, + {AND, &type_integer}, + {OR, &type_integer}, {EQ, &type_integer}, {NE, &type_integer}, {LE, &type_integer},