aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-08-14 19:22:48 +0100
committergingerBill <bill@gingerbill.org>2018-08-14 19:22:48 +0100
commit71f94bff76b419b8382ee6f622121e43124427a8 (patch)
treef0ca3f6f5a24a9cf9e2dd604917347c36fa42bab /src/check_stmt.cpp
parentc7d6467cfa4d750660a10ad127717cf44c309c5c (diff)
Minor sanity features for `bit_set`
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 4a7c6c621..86dd1bd6d 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -1163,7 +1163,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) {
be->right = as->rhs[0];
check_expr(ctx, &lhs, as->lhs[0]);
- check_binary_expr(ctx, &rhs, &binary_expr);
+ check_binary_expr(ctx, &rhs, &binary_expr, true);
if (rhs.mode == Addressing_Invalid) {
return;
}