From 5aa591d8845d8803d9a59502e99bc666bead9a3f Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 29 Oct 2018 22:16:43 +0000 Subject: Fix debug info issue --- src/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index f8ed17063..beb94caac 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -912,7 +912,7 @@ Type *base_complex_elem_type(Type *t) { bool is_type_struct(Type *t) { t = base_type(t); - return (t->kind == Type_Struct && !t->Struct.is_raw_union); + return t->kind == Type_Struct; } bool is_type_union(Type *t) { t = base_type(t); -- cgit v1.2.3