changeset 332:3bd3587869d5

[project @ 2004-10-27 21:42:06 by bellard] added _Bool in bit-fields
author bellard
date Wed, 27 Oct 2004 21:42:06 +0000
parents 417ae7104677
children a7b6042083f5
files tcc.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tcc.c	Wed Oct 27 21:38:03 2004 +0000
+++ b/tcc.c	Wed Oct 27 21:42:06 2004 +0000
@@ -6371,6 +6371,7 @@
                         if (bt != VT_INT && 
                             bt != VT_BYTE && 
                             bt != VT_SHORT &&
+                            bt != VT_BOOL &&
                             bt != VT_ENUM)
                             error("bitfields must have scalar type");
                         bsize = size * 8;