aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-08-27 00:11:02 +0100
committergingerBill <bill@gingerbill.org>2020-08-27 00:11:02 +0100
commitd31c63c0ae76115d1b9aa8b5d1f8bf7130e74977 (patch)
tree2a151c7a2204acbe7a5ace6ae76d54a04ec0eb8f /src/check_type.cpp
parentc783840eab1a7b1d89467e631ff26391e1023e7e (diff)
Fix #714
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 32309ce26..7be70c11d 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -1137,7 +1137,7 @@ void check_bit_set_type(CheckerContext *c, Type *type, Type *named_type, Ast *no
} else {
Type *elem = check_type_expr(c, bs->elem, nullptr);
- #if 1
+ #if 0
if (named_type != nullptr && named_type->kind == Type_Named &&
elem->kind == Type_Enum) {
// NOTE(bill): Anonymous enumeration