bug fix: size 0 error messages also appeared for labels
authorceriel <none@none>
Tue, 2 Dec 1986 11:39:34 +0000 (11:39 +0000)
committerceriel <none@none>
Tue, 2 Dec 1986 11:39:34 +0000 (11:39 +0000)
lang/cem/cemcom/idf.c

index 23473af..de39185 100644 (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);
                        }