diff options
| author | jiang <30155751@qq.com> | 2014-05-13 21:57:35 +0800 |
|---|---|---|
| committer | jiang <30155751@qq.com> | 2014-05-13 21:57:35 +0800 |
| commit | 8d5e0cf083f2cf931b8ab616ec67c9003ae65d11 (patch) | |
| tree | e28fe4c7332e2fa80840e9924821d88b86c1d92d /tccgen.c | |
| parent | 03687729ecd22de41575f9f6404f107fbfe54b66 (diff) | |
| download | tinycc-8d5e0cf083f2cf931b8ab616ec67c9003ae65d11.tar.gz tinycc-8d5e0cf083f2cf931b8ab616ec67c9003ae65d11.tar.bz2 | |
fix 14d0aa450f9a926a852ea01fbdecf27425264d14
Diffstat (limited to 'tccgen.c')
| -rw-r--r-- | tccgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2911,7 +2911,7 @@ static void struct_decl(CType *type, int u, int tdef) if (v == 0 && (type1.t & VT_BTYPE) != VT_STRUCT) expect("identifier"); if (type_size(&type1, &align) < 0) { - if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY) && c) + if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY)) flexible = 1; else tcc_error("field '%s' has incomplete type", |
