[qfcc] Promote types for bitops

Bitops are allowed for float operands in quakec and ruamoko (not glsl,
but meh for now). Fixes another ice in game-source/quake.
This commit is contained in:
Bill Currie 2025-01-18 14:13:40 +09:00
parent 92727019b5
commit 1950c03195

View file

@ -626,7 +626,8 @@ static expr_type_t mod_ops[] = {
};
static expr_type_t bit_ops[] = {
{ .match_a = is_math, .match_b = is_math, },
{ .match_a = is_math, .match_b = is_math,
.promote = true },
{}
};