Fixed problem with array's of incomplete types

This commit is contained in:
ceriel
1992-04-14 13:30:37 +00:00
parent 0571a16bcb
commit 60c44af82b
4 changed files with 27 additions and 9 deletions

View File

@@ -490,7 +490,9 @@ struct_declaration_pack(register struct type *stp;)
'{'
struct_declaration(stp, &sdefp, &size)+
'}'
{stp->tp_size = align(size, stp->tp_align);}
{stp->tp_size = align(size, stp->tp_align);
completed(stp);
}
;
struct_declaration(struct type *stp; struct sdef ***sdefpp; arith *szp;)