another fix for an illegal initialisation struct

This commit is contained in:
ceriel 1987-03-26 16:16:21 +00:00
parent bac2a42c82
commit 4e19ece566

View file

@ -285,11 +285,11 @@ replacement (int *n;)
| /* empty replacement, but there must be a | /* empty replacement, but there must be a
* structure initializer anyway * structure initializer anyway
*/ */
{ fputs("\t{\"\"",genc); { fputs("\t{\"\", {",genc);
for (i = 0; i < maxoperand; i++) { for (i = 0; i < maxoperand; i++) {
fputs(",{\"\",-1,\"\"}",genc); fprintf(genc, "%c{\"\",-1,\"\"}",i?',':' ');
} }
putc('}',genc); fputs("}}",genc);
} }
] ]
; ;