diff options
| author | bellard <bellard> | 2003-04-13 14:11:34 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-04-13 14:11:34 +0000 |
| commit | 60b9a1aa3868546b935dbd62e13f8f7a922e40c6 (patch) | |
| tree | 8d17f393e2ce1ea607e0d0040b547e7e513da10d /tcc.c | |
| parent | eed54d6bfb9cff942d5d79ca99ae3dc2382d0b9c (diff) | |
| download | tinycc-60b9a1aa3868546b935dbd62e13f8f7a922e40c6.tar.gz tinycc-60b9a1aa3868546b935dbd62e13f8f7a922e40c6.tar.bz2 | |
better _Bool lvalue support
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6312,7 +6312,7 @@ static int lvalue_type(int t) int bt, r; r = VT_LVAL; bt = t & VT_BTYPE; - if (bt == VT_BYTE) + if (bt == VT_BYTE || bt == VT_BOOL) r |= VT_LVAL_BYTE; else if (bt == VT_SHORT) r |= VT_LVAL_SHORT; |
