fixed bugs, added dynamic buffer allocation to preprocessor

This commit is contained in:
eck
1989-11-22 13:58:36 +00:00
parent 793a6b8ddd
commit 2e97e6e8b2
24 changed files with 386 additions and 283 deletions

View File

@@ -205,8 +205,10 @@ declare_idf(ds, dc, lvl)
but it has to be:
*/
extern char *symbol2str();
error("unknown %s-type",
symbol2str(type->tp_fund));
if (type->tp_fund != VOID)
error("unknown %s-type",
symbol2str(type->tp_fund));
else error("void is not a complete type");
}
else if (type->tp_fund != LABEL) {
/* CJ */