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 0bd78213b6
commit aa75909130

View File

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