History

fix 14d0aa450f9a926a852ea01fbdecf27425264d14

jiang committed 12 years ago

Commit 8d5e0cf1 parent 03687721 file · +1 −1Browse files

Unified · Split

tccgen.c+1−1
@@ -2911,7 +2911,7 @@ static void struct_decl(CType *type, int u, int tdef) · 2910 unmodified lines
29112911 if (v == 0 && (type1.t & VT_BTYPE) != VT_STRUCT)
29122912 expect("identifier");
29132913 if (type_size(&type1, &align) < 0) {
2914− if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY) && c)
2914+ if ((a == TOK_STRUCT) && (type1.t & VT_ARRAY))
29152915 flexible = 1;
29162916 else
29172917 tcc_error("field '%s' has incomplete type",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t