Fix $c >>= 2

This commit is contained in:
Christoffer Lerno
2022-10-25 10:50:56 +02:00
parent 4cdfac092b
commit d9ea953b5c
2 changed files with 5 additions and 2 deletions

View File

@@ -4780,7 +4780,10 @@ static bool sema_expr_analyse_shift(SemaContext *context, Expr *expr, Expr *left
*/
static bool sema_expr_analyse_shift_assign(SemaContext *context, Expr *expr, Expr *left, Expr *right)
{
if (left->expr_kind == EXPR_CT_IDENT)
{
return sema_binary_analyse_ct_common_assign(context, expr, left);
}
// 1. Analyze the two sub lhs & rhs *without coercion*
if (!sema_binary_analyse_subexpr(context, expr, left, right)) return false;

View File

@@ -1 +1 @@
#define COMPILER_VERSION "0.3.97"
#define COMPILER_VERSION "0.3.98"