added error message because of declaration problems

This commit is contained in:
eck 1990-12-13 09:14:54 +00:00
parent 530e1a3b6d
commit 73231e630b

View file

@ -180,6 +180,7 @@ declare_struct(fund, idf, tpp)
register struct tag *tg;
if (*tpp) error("multiple types in declaration");
if (!idf)
idf = gen_idf();
tgp = (fund == ENUM ? &idf->id_enum : &idf->id_struct);