bug fix: size 0 error messages also appeared for labels

This commit is contained in:
ceriel 1986-12-02 11:39:34 +00:00
parent 149c764ca1
commit abc2ba9a3c

View file

@ -197,7 +197,7 @@ declare_idf(ds, dc, lvl)
error("unknown %s-type",
symbol2str(type->tp_fund));
}
else {
else if (type->tp_fund != LABEL) {
/* CJ */
warning("%s has size 0", idf->id_text);
}